VSX CompatibleOXP Native: Planned

// Description

Language support for Astro

// Readme

Open VSX

#Astro support for Visual Studio Code

🧑‍🚀 Not sure what Astro is? See our website at astro.build!

Provides language support for .astro files. This extension is powered by the Astro language server.

##Features

A TypeScript plugin adding support for importing and exporting Astro components inside JavaScript and TypeScript files is also included.

##Configuration

HTML, CSS and TypeScript settings can be configured through the html, css and typescript namespaces respectively. For example, HTML documentation on hover can be disabled using 'html.hover.documentation': false. Formatting can be configured through Prettier's different configuration methods.

##Troubleshooting

###Inlay Hints don't work

Currently, only inlay hints provided by TypeScript are supported. TypeScript inlay hints are disabled by default and needs to be enabled using the settings under the typescript.inlayHints namespace, for example, to enable inlay hints for parameter names, you would do the following:

{
  "typescript.inlayHints.parameterNames.enabled": "all"
}

Alternatively, in the GUI this would be in TypeScript > Inlay Hints > Parameter Names. Make sure to update the TypeScript settings and not the JavaScript ones, as Astro is TypeScript-only

See this page for more information on the different settings available for inlay hints

// Install

Open this extension directly in your IDE — no CLI, no extra tools.

Extension ID
astro-build.astro-vscode

If your IDE doesn't open automatically, copy the ID above and paste it into the Extensions view (⌘P ext install <id>).

// Source signals

Publisher
Verified ✓
Rating
5.0 (2)
Downloads
621.8k
Published
2026-03-18
License
MIT
Source
repo
Homepage
link

Live from open-vsx.org. Refreshed hourly.

// Are you the author?

This listing is mirrored from Open VSX. Claim it to ship a native OXP build, customise the page, and respond to reviews.

Claim this listing

// Package Info

Version
2.16.13
Owner
@vsx-astro-build
Downloads
607.4k
Stars
0