Sublime Text: http://imgur.com/p27i5L7
Sublime Text: http://imgur.com/p27i5L7
The tool should support even the most hideous constructs; saying that "but what you wrote could be written better" is completely orthogonal to "the tool couldn't handle it".
Nope, the tool should choke on hideous constructs, and make you write them properly.
See how I provided just as many arguments as you?
If that's a huge problem to you, use said editor only for greenfield projects...
The only reliable exceptions I've found are Perl, which is unsurprising if you know anything about how that language parses, and the PHP modes, all of which bear stigmata of having been written by PHP developers, and each of which is broken in its own special way. Yegge's js2-mode is a notable exception of the opposite, and highly laudable, sort; when you screw something up using that mode, it knows what you did wrong, and uses the echo area to tell you about it.
https://github.com/romainl/dotvim/blob/master/vimrc#L302
https://github.com/romainl/dotvim/blob/master/autoload/funct...