mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-14 22:14:23 +00:00
a0d687c24a
The current Astro Extension fails to load properly if it can't find a `tsserver.js` file in the current workspaces' `node_modules` folder. This happens pretty frequently, either if `typescript` is not installed in the project (which it isn't by default), or if `node_modules` is not in the workspace root. This PR adds a fallback method of installing `typescript` alongside the extensions' language server if it is not found in the workspaces' `node_modules`, as well as correctly setting the `tsdk` path in the initialization options. Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> |
||
---|---|---|
.. | ||
astro | ||
clojure | ||
csharp | ||
dart | ||
deno | ||
elixir | ||
elm | ||
emmet | ||
erlang | ||
gleam | ||
glsl | ||
haskell | ||
html | ||
lua | ||
ocaml | ||
php | ||
prisma | ||
purescript | ||
racket | ||
ruby | ||
ruff | ||
scheme | ||
snippets | ||
svelte | ||
terraform | ||
test-extension | ||
toml | ||
uiua | ||
vue | ||
zig | ||
.gitignore |