How do I get around the verified bug in Windows 1903 and launch the VSCode integrated terminal?

后端 未结 4 1687
说谎
说谎 2020-12-30 03:01

I just did a fresh install of Windows 10 Pro version 1903 build 18362.116 and Visual Studio Code. Now the integrated terminal only launches externally.

Pressing

4条回答
  •  感动是毒
    2020-12-30 03:33

    To change the integrated terminal on Windows, you just need to change the terminal.integrated.shell.windows line:

    1. Open VS User Settings (Preferences > User Settings). This will open two side-by-side documents.
    2. Check if "terminal.integrated.shell.windows" has value "C:\\Bin\\Cmder\\Cmder.exe" setting to the User Settings document on the right.
    3. Remove this line.

    Ctrl + ~ will now open integrated terminal of VSCode.

    If the above solution doesn't work then can you try below values and check if it works for you:

    // Command Prompt

    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"
    

    // PowerShell

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

    // Git Bash

    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"
    

    // Bash on Ubuntu (on Windows)

    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe"
    

    From the Command Palette (Ctrl+Shift+P), use the View: Toggle Integrated Terminal command.

    Try custom shortcut:

    [
        {
            "key": "ctrl+`",
            "command": "workbench.action.terminal.toggleTerminal"
        }
    ]
    

提交回复
热议问题