vscode-leetcode
vscode-leetcode copied to clipboard
[FR] Add when clause context to support leetcode-specific keyboard shortcuts
🚀 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 :)