microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.2k stars 29.29k forks source link

It's not possible to set any Terminal Profile #224749

Open daninsky1 opened 3 months ago

daninsky1 commented 3 months ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. open code --disable-extensions --user-data-dir <test_dir>
  2. Follow the terminal profiles doc, and add a profile: https://code.visualstudio.com/docs/terminal/profiles#_configuring-profiles
  3. e.g.:
    {
    "terminal.integrated.profiles.windows": {
        "test": {
            "source": "PowerShell",
            "args": ["-NoProfile"]
        }
    },
    "terminal.integrated.defaultProfile.windows": "test"
    }

    vscode warns on "terminal.integrated.defaultProfile.windows": "test"
    Message in my system:

    Value is not accepted. Valid values: null, "PowerShell", "Windows PowerShell", "Git Bash", "Command Prompt", "Cygwin", "bash (MSYS2)", "JavaScript Debug Terminal"

The only, somewhat, related bug was alread fixed and closed: https://github.com/microsoft/vscode/issues/161219

meganrogge commented 3 months ago

adding the profile should work. that settings value validation warning is a bug