Search code examples
intellij-ideacolor-scheme

How to change sytanx coloring for jquery selectors in intellij idea


i want to change jquery selector syntax coloring from this:

enter image description here

to this:

enter image description here

but doesn't know where should i apply this change in color scheme setting of intellij idea, i checked all settings of JavaScript.


Solution

  • IDEA auto-injects CSS in JQuery calls, so "#input" is highlighted according to Settings | Editor | Color Scheme | CSS | Id selector preferences (just as @Rishikesh Sharat mentioned in his answer). A hint: to find color settings for current element, put cursor on it, then in Help | Find action... enter Jump to colors and fonts. You can check what shortcut is assigned to this action in Settings | Keymap | Other