Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode extension? #648

Closed
snebjorn opened this issue Apr 16, 2020 · 6 comments
Closed

VSCode extension? #648

snebjorn opened this issue Apr 16, 2020 · 6 comments
Labels
Question This issue is requesting information about dotnet-format

Comments

@snebjorn
Copy link

I was unable to find a VSCode format extension that uses dotnet format.
https://marketplace.visualstudio.com/search?term=dotnet%20format&target=VSCode&category=All%20categories&sortBy=Relevance

Does anyone know if something is being worked on?
Is it something the team is planning on?

@JoeRobich
Copy link
Member

@snebjorn The C# extension for VS Code already supports .editorconfig and CodeStyle analysis. Set "omnisharp.enableRoslynAnalyzers" and "omnisharp.enableEditorConfigSupport" to true in your settings. They are working on adding FixAll support too (OmniSharp/omnisharp-roslyn#1581).

@JoeRobich JoeRobich added the Question This issue is requesting information about dotnet-format label Apr 16, 2020
@snebjorn
Copy link
Author

Excellent. Forgive me. Another question.

Is #590 about dotnet-format using roslyn to format so they're consistent?

@JoeRobich
Copy link
Member

We already use Roslyn to format so that experience whether from the command-line with dotnet format, inside VS, or using VS Code with C# extension should be the same. That issue is about moving to Roslyn's editorconfig parsing support, which has additional features for configuring Analyzer severity, which we will need when we add Analyzer support.

@snebjorn
Copy link
Author

Most outstanding!

@steveoh
Copy link

steveoh commented Aug 4, 2021

I am struggling to make this work. Is anyone successfully making this work for them?

@JoeRobich
Copy link
Member

@steveoh If you are having difficulty with the C# extension for VS Code, please open a ticket at https://github.com/OmniSharp/omnisharp-vscode/issues providing all the requested logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question This issue is requesting information about dotnet-format
Projects
None yet
Development

No branches or pull requests

3 participants