js2-mode icon indicating copy to clipboard operation
js2-mode copied to clipboard

Error highlighting gives constant negative feedback

Open magnars opened this issue 12 years ago • 16 comments

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. :-)

magnars avatar Jan 02 '12 18:01 magnars