Reputation: 781
I am using VisualStudioCode with powershell, and the line breaks as shown below.
Do you have any idea why?
VisualStudioCode Version:
My settings file:
{
"editor.fontFamily": "D2Coding",
"editor.fontSize": 14,
"editor.wordWrap": "on",
"editor.mouseWheelZoom": true,
"window.reopenFolders": "none",
"workbench.colorTheme": "Visual Studio Dark",
"workbench.welcome.enabled": false,
"window.zoomLevel": 0,
"editor.cursorStyle": "line-thin",
"terminal.integrated.shell.windows": "C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe"
}
Upvotes: 1
Views: 797
Reputation:
You should not be using the "SysWOW64" path for your powershell.exe console.
Update your terminal setting to this:
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe"
If you are running Windows 10 you can remove it all together as VS Code will default to PowerShell as the terminal for Windows.
Upvotes: 1