This Question is Answered

2 "helpful" answers available (2 pts)
2 Replies Last post: Nov 21, 2013 1:40 AM by Richard Gartner  
Richard Gartner Newbie 2 posts since
Jun 6, 2012
Currently Being Moderated

Nov 15, 2013 12:06 AM

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

Konstantin Ulitin JetBrains 79 posts since
Jan 19, 2012
Currently Being Moderated
Nov 15, 2013 3:16 PM in response to: Richard Gartner
Re: Custom keyword highlighting

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

More Like This

  • Retrieving data ...