❔ 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
Buddy
Buddy2y ago
🤷‍♂️ Use Vim if you don't want anything that an IDE (or so called) offers.
DanklyTuned
DanklyTunedOP2y ago
I already use Emacs but that's not a helpful reply to this post.
sibber
sibber2y ago
uninstall the c# extention
Buddy
Buddy2y ago
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.
DanklyTuned
DanklyTunedOP2y ago
Have you read my post? I don't want to disable everything the extension offers.
sibber
sibber2y ago
btw its not exactly linting but thats irrelevant
DanklyTuned
DanklyTunedOP2y ago
Why I've chosen VS Code is irrelevant to my question.
sibber
sibber2y ago
you want to disable intellisense and code highlighting right?
Buddy
Buddy2y ago
numbers poppin up?
What kind of numbers in what context?
DanklyTuned
DanklyTunedOP2y ago
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.
sibber
sibber2y ago
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
DanklyTuned
DanklyTunedOP2y ago
Gotcha, thanks.
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server