You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw this issue where previously, unused usings were being presented as warnings.
The solution was to no longer show them as warnings and instead fade the unused usings.
However, I like getting warnings for unused usings as I want to remove all of them from my project.
Is there an option to make OmniSharp flag them as warnings so I can see them?
Note: I have also seen this feature request to remove unused usings, but because it has not yet been implemented, I would like to know how to get warnings about them in the meantime.
The text was updated successfully, but these errors were encountered:
Set omnisharp.enableRoslynAnalyzers = true and omnisharp.enableEditorConfigSupport = true in settings, then in your .editorconfig you can set the severity as you like.
root = true
[*.cs]# IDE0005: Using directive is unnecessarydotnet_diagnostic.IDE0005.severity = warning
I saw this issue where previously, unused
using
s were being presented as warnings.The solution was to no longer show them as warnings and instead fade the unused
using
s.However, I like getting warnings for unused
using
s as I want to remove all of them from my project.Is there an option to make OmniSharp flag them as warnings so I can see them?
Note: I have also seen this feature request to remove unused
using
s, but because it has not yet been implemented, I would like to know how to get warnings about them in the meantime.The text was updated successfully, but these errors were encountered: