Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature-request] Make it available in Vue SFCs #7

Open
ojvribeiro opened this issue Apr 17, 2023 · 1 comment
Open

[feature-request] Make it available in Vue SFCs #7

ojvribeiro opened this issue Apr 17, 2023 · 1 comment

Comments

@ojvribeiro
Copy link

No description provided.

@unikitty37
Copy link

This also applies to Svelte files, and inline styles in .html files.

A Svelte component can contain multiple <style> tags. When the selection is inside one of these tags, the extension should be able to sort the selection. When there is no selection, the extension should be able to sort everything inside the <style> tags, while leaving everything outside them alone.

Similarly, <style> tags are permitted in HTML files. The extension should be able to sort rules inside these, but instead it just throws the error "please open a CSS or SCSS file to sort".

It should really be looking for style definitions and not simply relying on the file extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants