❔ How do I disable live/realtime linting in VS Code with the C# extension?
I'm new to using VS Code (and C#). I installed the C# extension and there is linting while I type and write my program but it's insanely distracting having colors changing, lines inserted into the code, numbers popping up etc. Is there a way to disable this and have the linting run only when I save the file?
13 Replies
🤷♂️ Use Vim if you don't want anything that an IDE (or so called) offers.
I already use Emacs but that's not a helpful reply to this post.
uninstall the c# extention
My point is, if you want to disable everything that it offers.
Why choose VSCode from the start?
Your issue is very specific, but there should probably be settings to disable few things, but not all of them.
Syntax highlighting may be one of them.
Have you read my post? I don't want to disable everything the extension offers.
btw its not exactly linting but thats irrelevant
Why I've chosen VS Code is irrelevant to my question.
you want to disable intellisense and code highlighting right?
numbers poppin up?What kind of numbers in what context?
I am fine with syntax highlighting. What I mean is if I'm writing code that introduces a variable that I'm about to use but haven't yet I really don't need to be told that I haven't used it yet with a yellow squigly line and numbers on the file name and having the file name turn yellow and so on.
It's like my editor is having a mental breakdown over me writing code.
All I'd like is to have these checks and such performed after I've saved a file since that's usually when I'm done writing a section of code. It's pretty normal.
i dont think thats possible
its normal to have this compilation done in real time
just ignore the warning
your other option is to disable it altogether
Gotcha, thanks.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.