Does exist plugin that can generic from html code css selectors tree?

<div class="items">
<div class="item"></div>
<div class="item">
<span class="anything"></span>
</div>
<div class="item"></div>
</div>

to =========>>>>>>>>

.items {}
.items .items {}
.items .items .anything {}

It is really?

2 comments
Comment actions Permalink

I'm not aware of such plugins; you can use online CSS extractor: http://extractcss.com/ for this

note that the IDE can create selectors in a new/existing CSS file with Create Selector intention (available on hitting Alt+Enter on a class name in HTML):

 

 

 

0
Comment actions Permalink

Please vote for https://youtrack.jetbrains.com/issue/WEB-19236 to be notified on any progress with this feature

0

Please sign in to leave a comment.