Basic VSCode settings for PowerShell development
{ | |
// editor | |
"editor.quickSuggestionsDelay": 1, | |
"editor.tabCompletion": "on", | |
"files.defaultLanguage": "powershell", | |
// default shell | |
// Windows | |
// PowerShell 7 | |
"terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\7\\pwsh.exe", | |
"powershell.powerShellExePath": "C:\\Program Files\\PowerShell\\7\\pwsh.exe", | |
// PowerShell 6 | |
// "terminal.integrated.shell.windows": "C:\\Program Files\\PowerShell\\6\\pwsh.exe", | |
// "powershell.powerShellExePath": "C:\\Program Files\\PowerShell\\6\\pwsh.exe", | |
//PowerShell 5.1 and below | |
// "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
// "powershell.powerShellExePath": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
// Linux | |
// Ubuntu | |
// PowerShell 7 | |
// "terminal.integrated.shell.linux": "/snap/powershell/current/opt/powershell/pwsh", | |
// "powershell.powerShellExePath": "/snap/powershell/current/opt/powershell/pwsh", | |
// PowerShell 6 | |
// "terminal.integrated.shell.linux": "/snap/powershell/36/opt/powershell/pwsh", | |
// "powershell.powerShellExePath": "/snap/powershell/36/opt/powershell/pwsh", | |
// powershell settings changes | |
"powershell.codeFormatting.preset":"Stroustrup", | |
"powershell.startAutomatically": true, | |
"powershell.scriptAnalysis.enable": true, | |
"powershell.integratedConsole.showOnStartup": false, | |
"powershell.integratedConsole.focusConsoleOnExecute": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment