3 ms·
That's sort-of already the case whenever we start a string in any language that supports multi-line strings. You type the first " and then the rest of your file
by craftkiller 3y ago
That's sort-of already the case whenever we start a string in any language that supports multi-line strings. You type the first " and then the rest of your file gets re-interpreted as a string. It is annoying but I still think its a worthy trade-off, because I spend a lot more time reading code than being mid-edit with invalid syntax.
- troupo 3y agoSyntax errors are not limited to just typing a quote
- craftkiller 3y agoI never said they were. I'm just pointing out that we already experience the same problem in the case of quotes without the world ending, and I don't think expanding the problem to all syntax errors will make it much worse.
- troupo 3y agoIt would make it significantly much worse. Because every incomplete statement that you're just writing would break all syntax highlighting right after your cursor. And if you use any modern editor or IDE this doesn't happen.