簡體   English   中英

Visual Studio Code Powershell終端顯示損壞

[英]Visual Studio Code powershell terminal display is broken

我將VisualStudioCode與powershell一起使用,並且換行符如下所示。

你知道為什么嗎?

VisualStudioCode版本:

我的設置文件:

{
    "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"
}

您不應為powershell.exe控制台使用“ SysWOW64”路徑。

將您的終端設置更新為:

"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\WindowsPowerShell\\v1.0\\powershell.exe"

如果您正在運行Windows 10,則可以將其全部刪除,因為VS Code將默認為PowerShell作為Windows的終端。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM