Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"commandPalette", "launchMode": "commandLine" doesn't work from the command palette #17114

Open
zadjii-msft opened this issue Apr 23, 2024 · 0 comments
Labels
Area-CmdPal Command Palette issues and features Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Milestone

Comments

@zadjii-msft
Copy link
Member

From: MicrosoftDocs/terminal#578

The setting:
{ "command": "commandPalette", "launchMode": "commandLine", "keys": "" } does not work for my current version of the terminal (Windows Terminal Version: 1.14.2281.0)

Well, that kinda makes sense. If you're already in the command palette, then toggling the command palette will close it, rather than change the mode (which is what's expected here).

FWIW, binding this to a key does work:

        {
            "command":
            {
                "action": "commandPalette",
                "launchMode": "commandLine"
            }, 
            "keys": "ctrl+shift+."
        },

I suppose technically, this should move to be a bug on the Terminal repo - the commandPalette action with a different mode than the current one should clear the input and switch to that mode. That makes sense.

But alternatively, you could just backspace the >, and presto, command-line mode.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 23, 2024
@carlos-zamora carlos-zamora added Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. Area-CmdPal Command Palette issues and features and removed Needs-Tag-Fix Doesn't match tag requirements labels Apr 24, 2024
@carlos-zamora carlos-zamora added this to the Backlog milestone Apr 25, 2024
@carlos-zamora carlos-zamora added Priority-3 A description (P3) Help Wanted We encourage anyone to jump in on these. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 25, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Tag-Fix Doesn't match tag requirements and removed Needs-Tag-Fix Doesn't match tag requirements labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CmdPal Command Palette issues and features Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

2 participants