Skip to content

[BUG] Analyzers and code fixes not working in C# Dev Kit? #61

Description

Describe the Issue

Not sure if this is exposing a bug or just a missing feature for now. Can you clarify whether analyzers and code fixes should be working yet or not?

Steps To Reproduce

Works:

  • Analyzers are run during build, and issues surfaced as problems (errors and warnings)

Does NOT work:

  • Analyzers do not run automatically (neither for solution nor for open documents)
  • No command to run analyzers imperatively either
  • Detected issues are highlighted in source (squigglies) but no fixes appear
  • No settings to enable analyzers or control analysis behavior

Expected Behavior

I expect analyzers functionality to be on par with Visual Studio, or at least on par with the previous OmniSharp-powered C# extension.

Environment Information

  • OS: macOS Ventura
  • VS Code: 1.78.2
  • Extension: C# Dev Kit v0.1.8

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions