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

Implement when clause for Quick Pick #49

Closed
depascalis opened this issue Apr 3, 2023 · 3 comments
Closed

Implement when clause for Quick Pick #49

depascalis opened this issue Apr 3, 2023 · 3 comments
Labels

Comments

@depascalis
Copy link

I'm uncertain if the Extension API supports this, so I'm creating this to track eventual blocking issues if not.

I really like the idea of using the when clause for commands. Personally however I don't see much benefit of enabling it for the Command Palette, it would be awesome if it could be implemented for the Quick Pick though.

The use case is that I would like to make the Quick Pick completely context based. Imagine opening the Quick Pick and only see your choice of commands, and only see commands relative to the context from which it was opened, what a wonderful world.

I was researching for achieving this with the RMB Context Menu, but there are too many issues blocking this atm.

Related PR #22
Ping @elazarcoh

@elazarcoh
Copy link
Contributor

I think it's blocked by microsoft/vscode#10471

@usernamehw
Copy link
Owner

Yeah, that issue is 7 years old now. And Pull Request microsoft/vscode#118722 to fix it was closed.

@usernamehw
Copy link
Owner

Closing as there's no api.

@usernamehw usernamehw closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants