1
0

2 Commits

Author SHA1 Message Date
731bc86d33 Disabled smart-tab 2025-08-06 14:42:54 +02:00
7fe6e52b06 Commented Powershell-Editor-Services 2025-06-01 19:58:25 +02:00
2 changed files with 31 additions and 28 deletions

View File

@@ -35,6 +35,9 @@ render = true
[editor.inline-diagnostics]
cursor-line = 'hint'
[editor.smart-tab]
enable = false
[keys.normal]
'F7' = 'goto_previous_buffer'
'F8' = 'goto_next_buffer'

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' }
#---