Reimirno
Reimirno

Reputation: 188

Vscode Omnisharp Always No Quick Fix

The VSCode "quick fix" has never been available for me in C#.

Even the most basic quick fix, like importing namespaces for class, auto-implement missing methods from interface, are not available.

I am not sure what went wrong (or maybe this is normal in VSCode? I came from VS Studio C# and these options are available there. Maybe I am just assuming too much).

Here is a very simple illustration of what I meant (Sorry for the Chinese error message - I am not sure how to change Omnisharp locale. It is the standard Compiler complaint saying that you are not implementing one of the interface method):

No quick fix

Environment:

I tried:

So far none worked.

Upvotes: 6

Views: 1898

Answers (2)

Pedro Contipelli
Pedro Contipelli

Reputation: 386

I have no idea how it works, but THIS FIX WORKED FOR ME

Upvotes: 0

user2998740
user2998740

Reputation: 11

I can see that if I press cmd + . (control .) then it shows all available quick fix.

Upvotes: 1

Related Questions