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

How do I use css.customData for postcss syntax #12

Open
lazysergey opened this issue Jun 19, 2020 · 1 comment
Open

How do I use css.customData for postcss syntax #12

lazysergey opened this issue Jun 19, 2020 · 1 comment

Comments

@lazysergey
Copy link

I havepostcss selected as syntax for *.css files and I found I'm unable to use autocomplete values defined in css.css-data.json until I choose css syntax for those files which obviously disables other language features.

How do I configure customData so whatever I define in css.css-data.json will work with postcss syntax?

I tried postcss.customData without any luck

Thanks in advance

@lazysergey lazysergey changed the title How do I use css..customData for postcss syntax How do I use css.customData for postcss syntax Jun 19, 2020
@lazysergey
Copy link
Author

okay I found even in css mode I'm unable to use my pre-generated variables as autocompletion works only for at-directives/properties/pseudo-elements/pseudo-classes

would be nice to have this feature for postcss/scss/css variables and syntaxes. currently I have json of ~50 colors and I would like it to be autocompletible

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

1 participant