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