Skip to content

[FR] Add when clause context to support leetcode-specific keyboard shortcuts #833

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

Open
proItheus opened this issue Aug 21, 2022 · 0 comments

Comments

@proItheus
Copy link

🚀 Feature Proposal

VSCode provides extensions a way to add their own context keys for when clauses in keyboard shortcut setting. It will be nice if this extension can set such a context key when editing a leetcode solution code file or viewing problems etc. I think maybe it can be implemented by comparing the current workspace dir with config.leetcode.workspaceFolder?

Motivation

To be able to use leetcode-specific shortcuts. For example, I want to use F5 as "test the code on leetcode" when dealing with leetcode problems , while using it as "debug" elsewhere.

Sorry for my bad English :)

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

No branches or pull requests

1 participant