Answer the question
In order to leave comments, you need to log in
GoLand IDE: How to remove syntax highlighting for unused variables?
Hello!
Problem: When I just declare a variable, GoLand immediately highlights it with an error like: " The variable is not used anywhere "; I don't like this behavior of the IDE. I have not yet had time to use it anywhere, but only announced it.
Actually, subject, tell me, please, how to remove this syntax highlighting (namely, about unused variables) in GoLand?
Answer the question
In order to leave comments, you need to log in
This syntax highlighting cannot be turned off, because the Go language does not allow unused variables to be left in the code, which some other languages allow, a compilation error occurs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question