TeaCSS IntelliSense for Visual Studio CodeTeaCSS IntelliSense provides project-aware completion, hover previews, semantic syntax highlighting, color tools, references, and focused diagnostics for TeaCSS projects. Install from the Visual Studio Code Marketplace → InstallationInstall the extension, open a trusted workspace, and add a TeaCSS CSS entry to
your project. A conventional entry is named
The extension requires Visual Studio Code 1.125 or later. Its language server is bundled, so no separate editor tooling is required. The extension does not generate your application stylesheet; keep the appropriate TeaCSS build integration configured in the project. See the TeaCSS documentation for application setup. FeaturesAutocompleteGet completion suggestions for utilities exposed by the presets in the active TeaCSS entry. Completion supports prefix and fuzzy matching, optional strict matching within recognized class attributes, and configurable result limits. Hover previewsHover over a matched utility in markup or script documents to inspect its
generated CSS. Semantic syntax highlightingTeaCSS tokens are highlighted by role, including properties, values, conditions, pseudo-classes, pseudo-elements, selectors, variables, arbitrary values, and important modifiers. Highlighting is applied only to ranges confirmed by the TeaCSS language server. Color previewsEnable References and diagnosticsUse Find All References to locate equivalent uses of a TeaCSS utility in
the current document. In CSS documents, the extension reports focused
diagnostics for Project-aware configurationThe language server follows the nearest TeaCSS entry, reloads when active configuration sources change, and updates when workspace folders are added or removed. Project DiscoveryThe language server starts automatically after the extension discovers a TeaCSS entry. Discovery recognizes:
The custom entry takes priority when it exists. For an open supported file, the extension also searches parent directories up to the nearest workspace folder. If automatic discovery is not appropriate for your workspace, set
Supported LanguagesTeaCSS features are available for file-backed documents with these Visual Studio Code language identifiers:
Recommended Visual Studio Code SettingsVisual Studio Code may not automatically request completions inside string content. Enable string suggestions when you want completions to appear as you type in JSX or other string-based class attributes:
Source-document color decorators require both the Visual Studio Code color decorator and the TeaCSS color preview setting:
Extension Settings
Extension Commands
Run commands from the Command Palette. The TeaCSS status bar item indicates whether the language server is waiting, starting, running, or has failed to start. TroubleshootingIf TeaCSS features do not activate:
If completion works only after invoking it manually, enable
Workspace TrustTeaCSS configuration, preset modules, and Plug'n'Play modules may execute workspace code. The extension is disabled in Restricted Mode. Trust only workspaces whose code and dependencies you have reviewed. DevelopmentFrom the TeaCSS repository root:
Create a local VSIX package with:
LicenseMIT License |