F
F
fleshik2022-02-13 17:55:58
C++ / C#
fleshik, 2022-02-13 17:55:58

Why doesn't vs code underline errors?

Tell me if there is any extension or settings for vs code so that errors are underlined in the C # code, for example, variables that were not created, but are used. What I don’t write for some reason, no errors are underlined example:62091bea14060951262251.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2022-02-13
@fleshik

1. You must have a C# plugin
2. You must have a .net SDK on your computer
3. You must not have a bare file, but a project (there should be csproj next to it)
Here are more details:
https://qna.habr.com /q/947675#answer_1889815
PS: There is .csx for bare files

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question