开发者

Hotkey to find syntax warnings in Emacs js2-mode?

开发者 https://www.devze.com 2023-03-21 07:21 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消