I am using PhpStorm 9, and I have a project structure similar to this:
src/
elements/
element-alfa/
element-alfa.html
element-alfa.scss
templates/
application.html
index.html
I use Polymer , so I need to import elements when I use them. I also use AngularJS, which direct the application after loading to application.html , but actually the paths are similar to the index.html file .
<link rel="import" href="elements/element-alfa/element-alfa.html">
I set the src / directory as RESOURCES ROOT so that it does not color the background color under the href path, but if I use the automatic hint (CTRL + 2x SPACE), it returns a path relative to the application.html file , not related to index.html (or the root of the resources) as I wanted.
How to do it?