-
Notifications
You must be signed in to change notification settings - Fork 677
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
Allow suppression of hidden messages to be configurable with a default to supress #1435
Allow suppression of hidden messages to be configurable with a default to supress #1435
Conversation
@cruz82, It will cover your contributions to all .NET Foundation-managed open source projects. |
@cruz82, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good! Could you make the requestd tweaks to the user-facing option? Otherwise, it's in good shape.
package.json
Outdated
"csharp.suppressHiddenMessages": { | ||
"type": "boolean", | ||
"default": true, | ||
"description": "Suppress hidden messages from being shown." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we go with "hidden diagnostics" rather than "hidden messages".
- setting name:
csharp.suppressHiddenDiagnostics
- description:
Suppress 'hidden' diagnostics (such as 'unnecessary using directives') from appearing in the editor or the Problems pane
@DustinCampbell, updated the setting name and the description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great -- thanks!
I'm planning to release a new C# for VS Code beta later today or early tomorrow. That will have this setting in it. |
@cruz82 You're awesome, man! |
…t to supress (#1429)