Skip to content

terminal.integrated.profiles.windows does not work with spaces in names anymore #161219

@fritzmg

Description

@fritzmg

Since one of the recent updates, VSCode does not accept my custom terminal profile anymore (for the Git Bash in this instance). This is what I had configured so far:

    "terminal.integrated.defaultProfile.windows": "Git Bash",
    "terminal.integrated.profiles.windows": {
        "Git Bash": {
            "path": "C:\\ProgramData\\scoop\\apps\\git-with-openssh\\current\\bin\\bash.exe"
        },
        "PowerShell": {
            "source": "PowerShell"
        }
    },

See also #123205 (comment)

The profile does not work anymore though and within the settings editor VSCode laments "Value is not accepted":

image

Has anything changed in the way how you define custom terminals in the recent updates?

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

  • VS Code Version: 1.71.2
  • OS Version: Windows 10 Pro x64, Version 10.0.19044 Build 19044

Steps to Reproduce:

  1. Create a custom terminal profile under terminal.integrated.profiles.windows with the path option.
  2. Try to set this as your default profile (or test if you can start a terminal with this profile).

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberregressionSomething that used to work is now brokenterminal-profilesverification-steps-neededSteps to verify are needed for verificationverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions