Amazing PHPStorm!
I just wanted to say well-bloody done for the amazing work on injected languages on WebStorm (PHPStorm, actually).
I have:
- a JavaScript file
- with a jQuery call creating
- an HTML iframe fragment
- with a class of "error"
var $iframe = $('<iframe class="error" frameborder="0">');
In the Editor view:
- I CTRL+click the the word "error"
- in the attribute,
- in the HTML,
- in the String,
- in the JavaScript
And PHPStorm:
- teleports me DIRECTLY
- to the DECLARATION
- in an SCSS INCLUDE FILE!!
Really brilliant stuff, I'm so impressed.
THANK YOU JETBRAINS TEAM :D
Dave
请先登录再写评论。
Though to be even cooler, I just added another error class, and it could disambiguate between iframe.error and .error :P