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

could provide an option to hide the Submit to LeetCode button in the editor? #146

Closed
AEPKILL opened this issue Feb 21, 2019 · 3 comments · Fixed by #273
Closed

could provide an option to hide the Submit to LeetCode button in the editor? #146

AEPKILL opened this issue Feb 21, 2019 · 3 comments · Fixed by #273

Comments

@AEPKILL
Copy link

AEPKILL commented Feb 21, 2019

I always accidentally click it when editing the file

@twchn
Copy link

twchn commented Feb 21, 2019

+1
And I suggest the option is like following:

"bottomButton": {
  "type": "string",
  "enum": ["Submit to Leetcode", "Test in Leetcode", "Do not show"]
}

@poppinlp
Copy link
Contributor

Agree with it. And a switch in settings too. :)

@Eskibear
Copy link

My suggestion is to 1) simply add a switch for the code lens, 2) keep both "Submit" and "Test" if codelens is turned on.

The config is:

"leetcode.showShortcuts": {
    "type": "boolean",
    "default": true
}

It looks like:

...
piece of code
...

Submit | Test

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

Successfully merging a pull request may close this issue.

5 participants