dotnet / dotnet/vscode-csharp

Support for extensions containing Roslyn features (analyzers, refactorings)

Open
#6,790 12 comments 17 reactions 1 assignee Claimed by @JoeRobich View on GitHub
Feature Request Omnisharp-Parity Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

## Context

I have an extension that contains custom Roslyn analyzers, refactorings and code fixes. I use OmniSharp settings to configure it:

```json
{
"RoslynExtensionsOptions": {
"EnableAnalyzersSupport": true,
"LocationPaths": [
]
}
}
```

OmniSharp is now not used by default, so now I have to:

- Set `dotnet.server.useOmnisharp` to `true`
- Disable C# Dev Kit

## Question

Is it possible to configure custom Roslyn analyzers and refactorings without using OmniSharp?

## Versions used
VS Code: `1.85.1`
C# extension: `2.14.8`
C# Dev Kit: `1.2.5`

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.