I've got like 10,000 lines of JS and there's a missing bracket somewhere in there. js2-mode for emacs is supposed to highlight possible syntax errors, but it would still be incredibly time-consuming to look through all 10,000 lines and try to find the开发者_如何学Go one little bracket that is highlighted. Can someone tell me if there is a hotkey that I can use to jump to the next syntax warning?
As I can see from js2 source code, there is js2-next-error
function that should move to next error. It's bound to C-c C-`
by default
精彩评论