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

Allow quick chat toggle to take partial input #196118

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Oct 20, 2023

Part of #184411


With this change, this keybinding:

    {
        "key": "ctrl+i",
        "command": "workbench.action.quickchat.toggle",
        "args": {
            "query": "@vscode /createWorkspace ",
            "isPartialQuery": true
        }
    },

Opens the quick chat in this state:

image

This also forces the toggle command to always open the quick chat when there is a query provided.

@Tyriar Tyriar added this to the October 2023 milestone Oct 20, 2023
@Tyriar Tyriar self-assigned this Oct 20, 2023
@Tyriar Tyriar enabled auto-merge October 20, 2023 20:21
}
},
metadata: {
description: localize('toggle.desc', 'abc'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

abc?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always 🤦 #196144

@Tyriar Tyriar merged commit 8757f42 into main Oct 20, 2023
6 checks passed
@Tyriar Tyriar deleted the tyriar/quickchat_toggle_partial branch October 20, 2023 23:46
Alex0007 pushed a commit to Alex0007/vscode that referenced this pull request Oct 26, 2023
…oggle_partial

Allow quick chat toggle to take partial input
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants