sublime-jsvalidate icon indicating copy to clipboard operation
sublime-jsvalidate copied to clipboard

Highlight Line of Error

Open jprichardson opened this issue 12 years ago • 4 comments

Would be cool if it could highlight the lines with errors.

jprichardson avatar Nov 25 '12 16:11 jprichardson

Looks like it may be possible: http://www.sublimetext.com/docs/2/api_reference.html Specifically, methods line() and replace().

jprichardson avatar Nov 25 '12 16:11 jprichardson

I'll take a look at this and see how easy it would be to implement. I also take pull requests.

duereg avatar Nov 26 '12 01:11 duereg

I have a pull request in with the authors of Esprima which will allow you to jump to any line with an error. Waiting on their response.

Not exactly what you asked for, but useful anyways.

duereg avatar Nov 28 '12 06:11 duereg

Cool, on a bright note... it is possible, as SublimeClang does it. That'll make this plugin really useful. Thanks again.

jprichardson avatar Nov 29 '12 00:11 jprichardson