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

Commands to disable specific functions #10

Closed
ADIX7 opened this issue Jul 4, 2019 · 6 comments
Closed

Commands to disable specific functions #10

ADIX7 opened this issue Jul 4, 2019 · 6 comments
Assignees

Comments

@ADIX7
Copy link

ADIX7 commented Jul 4, 2019

There should be options to separately disable errors, warnings and infos. Currently they can only be toggled together.

@usernamehw
Copy link
Owner

Should they be toggled temporarily just like errorLens.toggle or preserved between reloads?

@ADIX7
Copy link
Author

ADIX7 commented Jul 4, 2019

In my opinion commands should toggle temporarily. If someone wants to disable permanently he/she can do it in the config.

@usernamehw
Copy link
Owner

errorLens.toggleError
errorLens.toggleWarning
errorLens.toggleInfo
errorLens.toggleHint

@ADIX7
Copy link
Author

ADIX7 commented Jul 6, 2019

Perfect! Thank you, keep up the good work!

@usernamehw
Copy link
Owner

Those are command ids to temporarily disable one level. To permanently exlude hint in settings.json:

"errorLens.enabledDiagnosticLevels": [
	"error",
	"warning",
	"info",
]

@lukemorales
Copy link

@usernamehw thanks for the quick reply! I happened to delete my question as I figured it out the Settings table was closed in the README and found that setting, thanks for replying!

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

No branches or pull requests

3 participants