Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS classes completion with CDN

How to use the CSS classes auto completion on WebStorm for CSS files imported from CDN like this?

<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css">
like image 735
devmao Avatar asked Aug 08 '13 09:08

devmao


2 Answers

Only files located under your project root are used for completion/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 completion work

like image 152
lena Avatar answered Nov 12 '22 15:11

lena


This is not possible. Only local css files are auto-completed. Feel free to request this feature at their issue tracker: http://youtrack.jetbrains.com/issues

like image 31
Petr Avatar answered Nov 12 '22 16:11

Petr