Request to register "tailwindCSS.emmetCompletions" as a language-specific override option #15492
Closed
amirfarzamnia
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
The TailwindCSS VSCode extension provides excellent IntelliSense features in languages like HTML. It also works well in template engines like EJS, which have a similar syntax to HTML. However, when using a template engine like Pug (which utilizes Emmet syntax), IntelliSense fails to work unless we explicitly enable Emmet completions by adding the following to
.vscode/settings.json
:While this enables Emmet completions for Pug, it also activates TailwindCSS IntelliSense in languages like TypeScript and JavaScript, where it's unnecessary and can be distracting.
To restrict this behavior, I attempted to enable Emmet completions only for Pug using the following configuration:
Unfortunately, this results in the following error:
Feature Request
Please register
tailwindCSS.emmetCompletions
as a language-specific override option. This will allow users to enable it only for specific languages (e.g., Pug) without affecting others (e.g., TypeScript, JavaScript).Expected Behavior
Allow configurations like the following to work without errors:
Impact
Without this feature, developers must globally enable Emmet completions, leading to undesired behavior in unrelated languages and disrupting the workflow.
Beta Was this translation helpful? Give feedback.
All reactions