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

support some settings #14

Open
tjx666 opened this issue Jan 16, 2023 · 1 comment
Open

support some settings #14

tjx666 opened this issue Jan 16, 2023 · 1 comment

Comments

@tjx666
Copy link

tjx666 commented Jan 16, 2023

For example, whether add scoped to style tag when using vfull.
How to implement this? I think we can ref: https://github.com/ults-io/vscode-react-javascript-snippets/blob/master/package.json#L64

@matijaoe
Copy link
Owner

matijaoe commented Jan 16, 2023

Thank you for the reference, will take a look. Been thinking of supporting settings, let me know if you have any more ideas for it. It will take some time though.

I'd also like to add a functionality of activating certain snippets only if a specific package or file is found, ie. activate Nuxt snippets only if nuxt.config is found (the way Tailwind extension does it), same for VueUse, VueMacros, etc. Still thinking over on how to implement this.

When I get more time, I'm also thinking of allowing users to enable/disable certain snippets manually, add custom aliases, or even customise snippets themselves (via UI interface in the sidebar). Although all that might be overkill, still just an idea.

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

No branches or pull requests

2 participants