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

plugin: support prefix arguments for workbench.action.quickOpen #9566

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

vince-fugnitto
Copy link
Member

@vince-fugnitto vince-fugnitto commented Jun 8, 2021

What it does

Fixes: #9565

The commit adds support for prefix arguments when plugins execute the workbench.action.quickOpen command. Previously prefix arguments were ignored.

How to test

  1. include vscode-quickopen test extension to your plugins folder.
  2. open an editor.
  3. execute the command QuickOpen: Open (No Prefix) - the default behavior should occur with the default quickOpen.
  4. execute the command QuickOpen: Open (Prefix) - the quick-command input should be triggered with the prefix.
  5. execute the command QuickOpen: Open (Invalid Prefix) - the default behavior should occur, an error should be raised.

Videos

prefix:

prefix.mov

invalid prefix:

invalid-prefix.mov

no prefix:

no-prefix.mov

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto [email protected]

@vince-fugnitto vince-fugnitto added the vscode issues related to VSCode compatibility label Jun 8, 2021
@vince-fugnitto vince-fugnitto self-assigned this Jun 8, 2021
The commit adds support for `prefix` arguments when plugins execute the
`workbench.action.quickOpen` command. Previously `prefix` arguments were
ignored.

Signed-off-by: vince-fugnitto <[email protected]>
@paul-marechal paul-marechal merged commit 93c5c8d into master Jun 9, 2021
@paul-marechal paul-marechal deleted the vf/quickopen-prefix branch June 9, 2021 16:54
@github-actions github-actions bot added this to the 1.15.0 milestone Jun 9, 2021
@Nurkambay
Copy link

Thanks, guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vscode.commands.executeCommand ignores prefix argument
3 participants