1
0

Commented Powershell-Editor-Services

This commit is contained in:
2025-06-01 19:58:25 +02:00
parent 4d0ea8c95f
commit 7fe6e52b06

View File

@@ -1,35 +1,35 @@
[[language]]
name = 'powershell'
scope = 'source.ps1'
file-types = ['ps1', 'psm1']
roots = ['.git']
comment-token = '#'
indent = { tab-width = 4, unit = '\t' }
language-servers = [ 'powershell-editor-services' ]
# [[language]]
# name = 'powershell'
# scope = 'source.ps1'
# file-types = ['ps1', 'psm1']
# roots = ['.git']
# comment-token = '#'
# indent = { tab-width = 4, unit = '\t' }
# language-servers = [ 'powershell-editor-services' ]
[language-server.powershell-editor-services]
name = 'powershell-editor-services'
transport = 'stdio'
command = 'pwsh'
args = ['-NoLogo', '-NoProfile', '-Command', 'C:\\PowerShellEditorServices\\PowerShellEditorServices\\Start-EditorServices.ps1 -SessionDetailsPath C:\\PowerShellEditorServices\\PowerShellEditorServices.sessions.lsp.json -LanguageServiceOnly -Stdio']
# [language-server.powershell-editor-services]
# name = 'powershell-editor-services'
# transport = 'stdio'
# command = 'pwsh'
# args = ['-NoLogo', '-NoProfile', '-Command', 'C:\\PowerShellEditorServices\\PowerShellEditorServices\\Start-EditorServices.ps1 -SessionDetailsPath C:\\PowerShellEditorServices\\PowerShellEditorServices.sessions.lsp.json -LanguageServiceOnly -Stdio']
[language.debugger]
name = 'powershell-editor-services'
transport = 'stdio'
command = 'pwsh'
args = ['-NoLogo', '-NoProfile', '-Command', 'C:\\PowerShellEditorServices\\PowerShellEditorServices\\Start-EditorServices.ps1 -SessionDetailsPath C:\\PowerShellEditorServices\\PowerShellEditorServices.sessions.dap.json -DebugServiceOnly -Stdio']
# [language.debugger]
# name = 'powershell-editor-services'
# transport = 'stdio'
# command = 'pwsh'
# args = ['-NoLogo', '-NoProfile', '-Command', 'C:\\PowerShellEditorServices\\PowerShellEditorServices\\Start-EditorServices.ps1 -SessionDetailsPath C:\\PowerShellEditorServices\\PowerShellEditorServices.sessions.dap.json -DebugServiceOnly -Stdio']
[[language.debugger.templates]]
name = 'Attach to existing Powershell Process'
request = 'attach'
completion = [ 'PID' ]
args = { processId = '{0}', runspaceId = '1' }
# [[language.debugger.templates]]
# name = 'Attach to existing Powershell Process'
# request = 'attach'
# completion = [ 'PID' ]
# args = { processId = '{0}', runspaceId = '1' }
[[language.debugger.templates]]
name = 'Launch Script (Script runs in Background)'
request = 'launch'
completion = [ 'Full Script Path' ]
args = { script = '{0}', runspaceId = '1' }
# [[language.debugger.templates]]
# name = 'Launch Script (Script runs in Background)'
# request = 'launch'
# completion = [ 'Full Script Path' ]
# args = { script = '{0}', runspaceId = '1' }
#---