-
Notifications
You must be signed in to change notification settings - Fork 18
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting to Disable .js / .ts Autocomplete? #58
Comments
馃憤 I do not use styles in javascript and the autocomplete is just pollution. I really only want them in css files. |
@Cellule @vunguyentuan thanks for the setting! |
@vunguyentuan is this new I'm still receiving suggestings in a Disabling the extensions makes these suggestions disappear. This is my settings configuration: {
"cssVariables.languages": [
// "astro",
// "svelte",
// "vue",
// "vue-html",
// "vue-postcss",
"scss",
"postcss",
"less",
"css",
"html",
// "javascript",
// "javascriptreact",
// "typescript",
// "typescriptreact",
"source.css.styled"
]
} |
I admit something is off. It worked fine initially with my fork, then once it was published it no longer seemed to work |
@vunguyentuan can we reopen this issue? |
@karlhorky I found my bug 馃槄 |
Amazing, thanks! Watching #85 now :) |
@vunguyentuan @Cellule thanks for the PR and merge! I can confirm that this is fixed in the new |
Hi @vunguyentuan 馃憢 hope you are well :)
Would you consider adding a setting to disable the
.js
/.ts
autocomplete feature for projects that do not use CSS-in-JS?Currently, in a project that does not use CSS-in-JS, the extension fills the autocomplete entries all over the place in JS, JSX, TS and TSX files with useless entries for CSS variables:
For example, adding a new setting called
cssVariables.autocompleteInLanguages
, default values below:Or, if this is based on file extension instead of language in the file, a new setting called
cssVariables.autocompleteInFiles
, default values:The text was updated successfully, but these errors were encountered: