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):
Environment:
I tried:
So far none worked.
I can see that if I press cmd +. (control.) then it shows all available quick fix.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.