Hyundong Hwang
Hyundong Hwang

Reputation: 781

Visual Studio Code powershell terminal display is broken

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

Answers (1)

user847990
user847990

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

Related Questions