Description
What version of VS Code are you using?
v1.98.2
What version of Tailwind CSS IntelliSense are you using?
v0.14.16
What version of Tailwind CSS are you using?
v4.1.2
What package manager are you using?
deno
What operating system are you using?
Windows
Tailwind config
No config file, just css as config
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@plugin "daisyui" {
prefix: "d-";
themes: false;
};
VS Code settings
I have my css file :
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@plugin "daisyui" {
prefix: "d-";
themes: false;
}; /* <<<< this semi colon !!! ??? */
#container {
font-family:
Inter,
Roboto,
"Helvetica Neue",
"Arial Nova",
"Nimbus Sans",
Arial,
sans-serif;
height: 100%;
}
....
Why this semicolon is required after a bracket bloc ?
All formatters delete it !? dprint, biome, prettier, ...
Because when this semicolon is not present after a @plugin "plugin-name" { <with bloc> }
all code highlighting after the block is incoherent.
malva team used by dprint for css formatting say this semicolon isn't required ? Source : g-plane/malva#28 (comment)
What about ? For now I try many formatter with tailwindcss v4+ and all isn't support v4 !?? Which is the best formatter for tailwindcss files please ???