jeudi 24 avril 2014

jshint unclosed comment makes UI unresponsive

When editing a function and attempting to add a block comment, after typing in /* jshint goes off and parses the code. It seems to lock up for a while then eventually come back with a warning at the end of the function saying unclosed comment.

I suspect that jshint is getting stuck in a loop somewhere and this is what is causing the UI to become unresponsive for a few seconds. When I mouse over the warning icon to the left of the line number, I see:

jshint.PNG


Note, I'm aware of the ctrl + / shortcut to add line comments to the selected lines.





Aucun commentaire:

Enregistrer un commentaire