Custom keyword highlighting

Anyone know if there is a way to custom highlight a single keyword? For example:

debugger;

Highlighted in bold red. Maybe there is another way to do it but I want to reduce the possiblity of that keyword being left behind by dev folks. Thanks.

-richard

2 comments

Hi Richard.
You can enable inspection JavaScript | JavaScript validity issues | 'debugger' statement and set an error highlighting level for it. If you have .idea folder of your project shared in VCS, other teammates will get it enabled too.

Konstantin

0

Please sign in to leave a comment.