pranaygp / vscode-css-peek

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

Will this extension let me jump from an import statement in a js file to the source css file? #77

Closed joshglenn closed 4 years ago

joshglenn commented 4 years ago

I have a simple index.js file that has an import './index.css' statement.

I want to right-click and go to that file.

I installed it and tried, but vscode says it cannot find the definition>

Should I be able to that with this plugin?

vaclavbenes commented 4 years ago

its not working for import './index.scss . Tested with vue.js project. If its possible add this one to css_peak.

pranaygp commented 4 years ago

nope, this doesn't work on import statements. For that, please use file peek.

I personally use both, file peek and css peek