You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now if you start a docstring with triple quotes, until you put the closing quotes in, the entire file will be underlined in red as a parsing error. (Same goes for any block without a corresponding end.) This is really distracting.
Would it be possible to just highlight the section of code that is "in error"? (or, as an alternative, when a block starts, automatically insert end statements or closing quotes as necessary?)
The text was updated successfully, but these errors were encountered:
So I've been using this with the error appearing at the literal point of parsing failure which, more often than not will be at the end of the file and so is not that helpful.
What are the thoughts on underlining in green the start of the expression (that eventually fails to parse) and switching to red after the actual point of failure?
We should take a look at the linters for other languages in VS Code and what they do, especially the "official" ones developed by Microsoft. They probably thought hard about it and we can just follow their lead :)
Right now if you start a docstring with triple quotes, until you put the closing quotes in, the entire file will be underlined in red as a parsing error. (Same goes for any block without a corresponding
end
.) This is really distracting.Would it be possible to just highlight the section of code that is "in error"? (or, as an alternative, when a block starts, automatically insert
end
statements or closing quotes as necessary?)The text was updated successfully, but these errors were encountered: