- Open VS Code
- Ctrl + Shift + P
- Type "user"
- Choose "Preferences: Open user Settings"
- Include following settings and restart
- Test Terminal by Ctrl + Shift +
(Command +
)
{
"window.zoomLevel": 2,
"terminal.integrated.shell.osx": "/usr/local/bin/powershell"
}
{
"window.zoomLevel": 2,
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe"
}
for windows 8 use this path
"C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe"
this might work for windows 7 as well but never tried it so if this works for anyone please comment