Skip to content

Instantly share code, notes, and snippets.

@techthoughts2
Last active May 15, 2022 19:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techthoughts2/46481b4569f063cd632b83e6fd469890 to your computer and use it in GitHub Desktop.
Save techthoughts2/46481b4569f063cd632b83e6fd469890 to your computer and use it in GitHub Desktop.
Basic VSCode settings for PowerShell development
{
// editor
"editor.quickSuggestionsDelay": 1,
"editor.tabCompletion": "on",
"files.defaultLanguage": "powershell",
// powershell settings changes
// you can specify a custom location for the powershell.exe/pwsh.exe file
// not required if you just want to use the default locations
"powershell.powerShellAdditionalExePaths": {
"PS7": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
"PS5.1": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
},
"powershell.powerShellDefaultVersion": "PS7",
"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