Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>DatastarNew to Visual Studio Code? Get it now.
Datastar

Datastar

Star Federation

|
837 installs
| (4) | Free
Adds autocomplete for Datastar to Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Datastar Extension for Visual Studio Code

Adds autocomplete for Datastar to Visual Studio Code.

screenshot-Zi09CjE7@2x

Configuration

By default, Datastar snippets work in HTML and most common template languages. You can customize which languages and file extensions have Datastar support by configuring the datastar.enabledLanguages setting.

To configure:

  1. Open VS Code Settings (Cmd/Ctrl + ,)
  2. Search for "datastar enabled languages"
  3. Add language IDs (e.g., html, php, twig) or file extensions (e.g., .edge, .njk, .custom)

Example:

{
  "datastar.enabledLanguages": [
    "html",
    "php", 
    "twig",
    ".edge",
    ".custom"
  ]
}

License

This plugin is licensed for free under the MIT License.

Requirements

This plugin requires Visual Studio Code version 1.63.0 or later.

Installation

Install the extension from the Visual Studio Code Marketplace or from the extensions panel by searching for “Datastar”.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft