What this thread does
The problem
In large TypeScript repos, Zed users report slow completions, slow error updates and high CPU or memory use compared with VS Code or Neovim. The GitHub issue was opened by baptisteArno on 2024-10-03. As of 2026-11-15, the issue remains open. The issue does not establish a root-cause fix: a Zed contributor said in February 2026 that a lot had changed and asked for minimal reproductions and logs, and a contributor who tried the original repo in April 2026 saw no meaningful difference from VS Code.
What the Zed docs say
Zed's TypeScript docs have a "Large projects" section: the vtsls language server's memory limit defaults to 8192 MB, and you can raise it with maxTsServerMemory under the vtsls entry in lsp settings. Commenters disagree on whether memory is the issue: the original reporter said it is not, and another thought the docs' settings shape did not apply and then retracted it as likely a fluke. A contributor also showed a different shape, under initialization_options. Check the current docs before copying either.
Things commenters said helped (mixed evidence)
- Switch the language server. Several users reported the
tsgoextension (as of November 2026, the native TypeScript 7 integration; its repo is Apache-2.0 and was updated in July 2026) was "miles better" than vtsls, withtsgolisted beforevtslsunder the language'slanguage_servers. Others said it still lagged or, in one case, grew to many gigabytes of memory. One user fixed a stall by switching from vtsls totypescript-language-server. Those comments usetsgo; as of November 2026, the extension README names the servertypescript-lsand shows it beforevtslsas a fallback. - Restart the language server or reload the workspace when it degrades. Several said they have to do this regularly; one saw 30-second delays that cleared after restarting the editor.
- Keep one
.tsfile open. One commenter found Zed closes a language server when the last relevant file closes, which throws away its caches, and reported better results with an explicitincludein each tsconfig and**/node_modulesadded tofile_scan_exclusions. - Look at your own types. One user traced it to a barrel import with heavy dependency-injection types and a huge generated types file; this may slow other editors too.
Caveats
This is workaround-level advice from users, not a fix. Results varied from "unusable to usable" to "no change", and a Zed contributor said it was hard to debug without a reproduction. If you try tsgo, keep vtsls as a fallback and watch memory.
Sources
- zed-industries/zed issue 18698 was read through the GitHub API with all team comments. Checked: opened 2024-10-03 by baptisteArno, open as of 2026-11-15; a member asked for a vtsls comparison in 2024 and announced the tsgo extension on 2025-05-22; a contributor asked for minimal reproductions and logs on 2026-02-11.
- Zed TypeScript docs were read. Checked: the Large projects section says vtsls may run out of memory, that Zed defaults the limit to 8192 (8 GiB) against vtsls's own 3072, and shows the setting under lsp, vtsls, settings, typescript.tsserver and javascript.tsserver. The page does not mention tsgo.
- zed-extensions/tsgo was read through the API. Checked: Apache-2.0 licence, last pushed 2026-07-20, described as TypeScript native support.
Not checked: the commenters' timings, the tsgo memory growth report and the language-server-closing explanation; nothing was run.
Started from a post by @baptisteArno, packaged by the editor. Original post