admin 管理员组文章数量: 1086019
How to use the CSS classes auto pletion on WebStorm for CSS files imported from CDN like this?
<link rel="stylesheet" href=".0.0-rc1/css/bootstrap.min.css">
How to use the CSS classes auto pletion on WebStorm for CSS files imported from CDN like this?
<link rel="stylesheet" href="https://netdna.bootstrapcdn./bootstrap/3.0.0-rc1/css/bootstrap.min.css">
Share
Improve this question
edited Aug 8, 2013 at 9:39
Micha
5,1738 gold badges36 silver badges47 bronze badges
asked Aug 8, 2013 at 9:33
devmaodevmao
6808 silver badges18 bronze badges
2
- I don't think you can do so. "Intellisense" is possible only for css properties not for classes or Id's. – Mr_Green Commented Aug 8, 2013 at 9:48
- 1 It seems that downloading external libraries is only possible for JavaScript files. I have submitted a feature request regarding external CSS: youtrack.jetbrains./issue/WI-24108 – jabbett Commented Jul 16, 2014 at 17:54
2 Answers
Reset to default 7Only files located under your project root are used for pletion/navigation/error highlighting, WebStorm doesn't use online resourses for types resolving. So you have to download the css and reference it using the relative URL to make the pletion work
This is not possible. Only local css files are auto-pleted. Feel free to request this feature at their issue tracker: http://youtrack.jetbrains./issues
本文标签: javascriptCSS classes completion with CDNStack Overflow
版权声明:本文标题:javascript - CSS classes completion with CDN - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744060192a2526585.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论