mooz/js2-mode — Issue #29: Error highlighting gives constant negative feedback
Author: magnars
Created: 2012-01-02 18:11:20+00:00
State: open

The constant negative feedback from the error highlighting while I'm typing is bugging me. It's like the small happy green tests in TDD - except in reverse.

I've got several ideas about fixing it, but I'm unsure of how feasible they are. I've tried making the error highlighting only show up on saved files. I thought that would be easiest, but couldn't get it to work.

What I would like most of all is this:

* Parse errors are only highlighted in saved files, or after a long pause in typing (say 15 seconds).
* Warnings are only highlighted after a pause in typing (say 2 seconds)

And here's the crux:

* Fixes to errors and warnings are shown immediately (on the first parse).

Do you think these fixes are feasible? Or at all possible with the way parsing works now?

I'd love to help out, but would need a little push in the right direction. :-)