最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - CSS classes completion with CDN - Stack Overflow

programmeradmin1浏览0评论

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
Add a ment  | 

2 Answers 2

Reset to default 7

Only 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

发布评论

评论列表(0)

  1. 暂无评论