Astro

Languageby Tori @gettoriApache-2.0
Runs your project’s code

Astro loads code from the project it opens, such as its dependencies or its own configuration. Tori asks before starting it in each project and remembers your answer for that project.

The file

astro.tomlRead only
1# Astro via @astrojs/language-server. See LSP-SERVERS.md.23schema_version = 14id = "astro"5label = "Astro"6description = "Astro components, through the Astro language server"7license = "Apache-2.0"8contributor = { name = "Tori", github = "gettori" }9verified_against = "@astrojs/language-server 2.17.2"10verified_on = "2026-10-09"11root_markers = ["package.json", ".git"]1213# Loads the project's own `astro` package for its types, and runs the project's14# TypeScript when there is one.15runs_project_code = true1617[languages]18astro = "astro"1920[launch]21kind = "managed"22runtime = "node"23program = "astro-ls"24args = ["--stdio"]2526[install]27kind = "npm"28package = "@astrojs/language-server"29version = "2.17.2"3031# The server refuses `initialize` without this: it embeds a TypeScript service32# rather than talking to tsserver, so it has to be told which `typescript/lib`33# to load. `${tsdk}` is the project's own, else Tori's bundled copy.34[initialization_options.typescript]35tsdk = "${tsdk}"