dotnet / dotnet/vscode-csharp

_Imports.razor flooded with Unnecessary using directives

Open
#4,177 0 comments 0 reactions 0 assignees View on GitHub
OmniSharp Razor
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

![image](https://user-images.githubusercontent.com/15258962/98137616-0ba16480-1e77-11eb-94f9-d2507c57dcd0.png)

I assume this is coming from the downstream razor files where Client library isn't used, however there's no guidance as to what files this is affecting so it is effectively useless without the relevant file paths it applies.

This should either be suppressable or be more verbose as to the files where it isn't necessary. Since the goal of the _Imports is to be global to all files, the suppression seems to make more sense.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.