CSS injection in jQuery selector

Starting with PhpStorm 4, in any JavaScript files I create, a jQuery selector is being treated as a CSS injection, and thus subject to CSS injection highlights.

ie: $("#myId") - The quotes are highlighted correctly, but #myId is highlighted using CSS rules.  In PhpStorm 3, this would be highlighted as a string in JavaScript.

How do I turn this feature off?  I just want this highlighted as a string in JavaScript like it was in PhpStorm 3.  There does not appear to be a related Language Injection setting under the "Language Injection" section of project settings.

1 comment

There is no such option yet. Do you mean you have problem with wrong highlighting (like http://youtrack.jetbrains.com/issue/WI-10650)?

0

Please sign in to leave a comment.