Skip to content

当我在编辑键盘快捷键的时候,when字段应该填写什么呢 #369

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

Closed
Gwzlchn opened this issue Jul 17, 2019 · 1 comment
Closed

Comments

@Gwzlchn
Copy link

Gwzlchn commented Jul 17, 2019

比方说我现在有一个·提交的快捷键,但在任何时间都可用,可不可以仅在leetcode代码页面生效的时候再可用呢。谢谢解答。
{
"key": "ctrl+shift+q",
"command": "leetcode.submitSolution",
"when": "editorTextFocus"
},

@jdneo
Copy link
Member

jdneo commented Jul 17, 2019

I'm afraid it's not achievable so far, considering the current supported when clause. More information about available when clause can be found here: https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts.

@jdneo jdneo closed this as completed Jul 17, 2019
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

2 participants