dotnet / dotnet/vscode-csharp

Roslyn analyzers quickfix: Add option for Suppress / Suppressions

Open
#4,595 5 comments 2 reactions 1 assignee Claimed by @Cosifne View on GitHub
OmniSharp
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

## Environment data
`dotnet --info` output: 5.0.203
.NET SDK (reflecting any global.json):
Version: 5.0.203
Commit: 383637d63f

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19042
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.203\

VS Code version: 1.56.2
C# Extension version: 1.23.12

## Steps to reproduce

I think this is more a feature request than a bug. I
Type some code that the roslyn analyzer shows the issue and the quickfix bulband shows the quickfix (ctrl+.)

## Expected behavior

Show option for suppression (as in visual studio) by pressing (ctrl+.) or clicking the bulb

## Actual behavior

Shows only quickfix options to fix the code, but no suppression option.

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.