Skip to content

Suggestions for Tailwind CSS v4 are not provided when using the Standalone CLI #1145

Closed
@dlongz

Description

@dlongz

What version of VS Code are you using?

Version: 1.96.4 (Universal)
Commit: cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba
Date: 2025-01-16T00:16:19.038Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.6.0

What version of Tailwind CSS IntelliSense are you using?

0.14.1

What version of Tailwind CSS are you using?

"tailwindcss": "^4.0.0"

What package manager are you using?

npm

What operating system are you using?

macOS

Tailwind config

None as per Tailwind 4
index.css
@import "tailwindcss";

VS Code settings

{
	"workbench.colorTheme": "Bearded Theme feat. Will",
	"workbench.iconTheme": "a-file-icon-vscode",
	"terminal.integrated.defaultProfile.windows": "Git Bash",
	"[json]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"editor.suggestSelection": "first",
	"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
	"files.exclude": {
		"**/.classpath": true,
		"**/.project": true,
		"**/.settings": true,
		"**/.factorypath": true
	},
	"workbench.editorAssociations": {
		"*.pdf": "pdf.preview"
	},
	"redhat.telemetry.enabled": true,
	"bracket-pair-colorizer-2.depreciation-notice": false,
	"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -javaagent:\"c:\\Users\\MrLew\\.vscode\\extensions\\gabrielbb.vscode-lombok-1.0.1\\server\\lombok.jar\"",
	"javascript.updateImportsOnFileMove.enabled": "always",
	"[javascriptreact]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"[javascript]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"[css]": {
		"editor.defaultFormatter": "vscode.css-language-features"
	},
	"sonarlint.rules": {
		"javascript:S4138": {
			"level": "off"
		},
		"javascript:S125": {
			"level": "off"
		}
	},
	"kite.showWelcomeNotificationOnStartup": false,
	"editor.largeFileOptimizations": false,
	"vsicons.dontShowNewVersionMessage": true,
	"[python]": {
		"editor.defaultFormatter": "ms-python.python",
		"editor.formatOnType": true
	},
	"editor.guides.bracketPairs": "active",
	"[typescriptreact]": {
		"editor.defaultFormatter": "vscode.typescript-language-features"
	},
	"files.associations": {
		"*.css": "tailwindcss"
	},
	"editor.quickSuggestions": {
		"strings": "on"
	},
	"Notes.notesLocation": "/Users/mrlewis/Notes",
	"git.autofetch": true,
	"editor.accessibilitySupport": "off",
	"emmet.preferences": {},
	"emmet.includeLanguages": {
		"\"javascript\"": "\"javascriptreact\""
	},
	"[html]": {
		"editor.defaultFormatter": "vscode.html-language-features"
	},
	"liveServer.settings.useLocalIp": true,
	"liveServer.settings.fullReload": true,
	"[sql]": {
		"editor.defaultFormatter": "mtxr.sqltools"
	},
	"editor.acceptSuggestionOnEnter": "smart",
	"editor.snippetSuggestions": "top",
	"breadcrumbs.enabled": false,
	"editor.detectIndentation": false,
	"editor.formatOnSave": true,
	"prettier.tabWidth": 4,
	"prettier.useTabs": true,
	"material-icon-theme.folders.theme": "specific",
    "workbench.productIconTheme": "a-file-icon-vscode-product-icon-theme",
    "editor.fontLigatures": true,
    "editor.fontVariations": false,
    "editor.fontFamily": "Lilex Nerd Font, Menlo, Monaco, 'Courier New', monospace"
}

Reproduction URL

n/a

Describe your issue

Tailwindcss Intelisense still needs a tailwind.config.js file however Tailwind 4 doesn't recommend using one in favor of the '''@import "tailwindcss";''' in the CSS file. With current recommended configuration, IntelliSense doesn't work at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions