search analyzer and formatter for Visual studio code

Viewed 10

I would like to find a linter to analyze the formatting of my code, and also use the linter locally to format my code. And I would want to be able to do that with Visual studio code (and ideally, also Visual studio).

Right now, I am using Visual studio with resharper. But it's way too slow for me.

So I installed visual studio code, installed the extension omnisharp and roslynator, to be able to have the same formatting rules as resharper. So it works well, I configured my config file to display error when a rule is not respected, like that : enter image description here

My issue is, I can't find a way to fix all these issue with a shortcut, like I use to do with Visual studio and resharper. The shortcut shift+alt+F does not fix all my errors, and the command omnisharp "fixall" act weirdly, it remove my function Hi..

Do you have suggestion of setup with visual studio code to be able to format the code directly (not via a command line, but from a shortcut), and as advanced as resharper, and that could also work as a linter to analyze the code on the CI?

0 Answers
Related