twitter bootstrap - Best place for CSS and LESS external libs in PhpStorm or PyCharm project -
i want ide see bootstrap files css classes autocompletion , on-the-fly less compiling. don't want store bootstrap inside project folder structure , copy libraries in each project. how can make ide know libs?
some approaches tried.
- using relative paths.
@import '../../../../../bootstrap 3/less/mixins';
not good. moreover, despite import statement correct (without red underlining), ide not "know" imported mixins. when copy libraries, ide "knows" them. - connect js libs. see them in project files view. less syntax checker cannot locate them, no matter path specify. import statement underlined red wavy line.
now, can use copy , paste technique or use links (or directory junctions). not sure correct way.
i tried phpstrom , pycharm, suppose webstorm cannot resolve problem too.
you can add folder bootstrap files stored additional content root each of projects (settings/directories, add content root). see web-7452
Comments
Post a Comment