pranaygp / vscode-css-peek

A vscode extension for peeking at CSS definitions from a class or id tag in HTML
MIT License
142 stars 32 forks source link

Create class name in CSS file #144

Open EHMilon opened 10 months ago

EHMilon commented 10 months ago

Suppose I declared a class name “js” in HTML, but I don't declare this class in CSS file. And now if I press CTRL + click “js” it will not open CSS file. We need to declare same name class in CSS file. But what if without declaring class in CSS file if we press CTRL and Press class name it will open link CSS file and automatically create a class name " .js{ } ".

ezgif com-video-to-gif

I think it will be very useful for developers and save our time.

If automatic class name create is not possible, then it should be open linked CSS file at least.

EHMilon commented 9 months ago

@pranaygp