1

Is there a way for komodo to highlight variables that start with a '$' dollarsign?

An example would be variables like this: var $btn;
I want to use these variables on javascript.

2 Answers2

3

Use the Find dialog to do this:

  • Press Ctrl+F (or Meta+F in OSX)
  • Click the regex checkbox
  • Enter the pattern in the Find field: \$[^\s]+
  • Click Find All

References

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
0

Komodo has this functionality built-in; Check Preferences > Editor > Smart Editing > Variable highlighting.

Naatan
  • 3,424
  • 4
  • 32
  • 51