Description:
Config I use for VS Code.
To Resolve:
1. Install the Powershell Extension, then in Settings:
// Place your settings in this file to overwrite the default settings
{
“files.hotExit”: “off”,
“powershell.codeFormatting.openBraceOnSameLine”: false,
“powershell.codeFormatting.ignoreOneLineBlock”: false
}
# shift+alt+f = format code
2. Create VSCode PS profile: Microsoft.VSCode_profile.ps1 in C:\users\username\Documents\WindowsPowershell