C
C#14mo ago
DanklyTuned

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