Installation of Visual Studio Code

Hello:

I have been using wsl for some stuff recently so a lot of that setting is autosaved across a lot of my applications.

This came up when I was attempting to set a default terminal for VS Code 2019.

I have tried to go into the command palette >> Select Default Profile >> Command Prompt but that won’t save.

I believe the issue might lie in settings.json

Here is what I have in settings.json:

Please advise

Probably just need to delete line 2 as that is deprecated.

My settings for reference:

"terminal.integrated.defaultProfile.windows": "Command Prompt",
"terminal.integrated.profiles.windows": {
    "PowerShell": {
        "source": "PowerShell",
        "icon": "terminal-powershell"
    },
    "Command Prompt": {
        "path": [
            "${env:windir}\\Sysnative\\cmd.exe",
            "${env:windir}\\System32\\cmd.exe"
        ],
        "args": [],
        "icon": "terminal-cmd"
    },
    "Git Bash": {
        "source": "Git Bash"
    },
    "Windows PowerShell": {
        "path": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
    }
},

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms