Skip to content

Add option to to address all "Unnecessary using directive" #1179

Closed
@jchannon

Description

@jchannon

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-rc4-004706)

Product Information:
 Version:            1.0.0-rc4-004706
 Commit SHA-1 hash:  e38bc4950c

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.11
 OS Platform: Darwin
 RID:         osx.10.11-x64
 Base Path:   /usr/local/share/dotnet/sdk/1.0.0-rc4-004706


VS Code version: 1.9.0
C# Extension version: 1.7.0-beta3

Steps to reproduce

Open a project, open the Problems pane. Get numerous information points about Unnecessary using directive.

Expected behavior

Could there be an option to globally address all these where it loops through those lines and removes the unnecessary usings?

Actual behavior

Nothing, just information/warnings

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions