Skip to content

Add option to make 'unnecessary using directive' diagnostics to appear #1429

@bakakaba

Description

@bakakaba

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.1)

Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1

Runtime Environment:
OS Name: fedora
OS Version: 25
OS Platform: Linux
RID: fedora.24-x64
Base Path: /opt/dotnet/sdk/1.0.1

VS Code version: 1.11.2
C# Extension version: 1.9.0

Steps to reproduce

Add an unnecessary using statement.

Expected behavior

A diagnostic info message about the unnecessary using statement.
using

Actual behavior

No diagnostic info message is shown and the using statement is not highlighted.

Metadata

Metadata

Assignees

Labels

Feature RequestfixedFixed and available in the stable version of C# Extension.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions