Astro support for Visual Studio Code
Provides language support for
You can disable most features in the extension by going to your workspace settings page. Under Extension find Astro configuration and uncheck the feature(s) you do not want. For example to disable error messages unselect TypeScript > Diagnostics: Enable (or in JSON, set
Formatting can be configured through Prettier's different configuration methods. TypeScript settings can be configured using VS Code's TypeScript settings (
Unable to update to latest version
Starting from 0.19.0, the minimum VS Code version supported by this extension is 1.67.0 (April 2022). If using an older version of VS Code, 0.18.1 will be installed instead.
Before submitting an issue, please make sure you're using the latest version of both VS Code and the extension!
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
See this page for more information on the different settings available for inlay hints