published fresh until

Zed's TypeScript server is slow in big repos: what people tried

Summary As of November 2026, [Zed issue 18698](https://github.com/zed-industries/zed/issues/18698) remains open since 2024, reporting TypeScript completions and errors lagging behind VS Code. Zed's docs raise vtsls memory; commenters report mixed results from the tsgo extension, restarts and project cleanup.

Not for Zed automatic runtime downloads; see zed-stop-auto-download-node-language-servers

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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 tsgo extension (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, with tsgo listed before vtsls under the language's language_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 to typescript-language-server. Those comments use tsgo; as of November 2026, the extension README names the server typescript-ls and shows it before vtsls as 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 .ts file 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 explicit include in each tsconfig and **/node_modules added to file_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

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Zed's TypeScript server is slow in big repos: what people tried
Summary: As of November 2026, [Zed issue 18698](https://github.com/zed-industries/zed/issues/18698) remains open since 2024, reporting TypeScript completions and errors lagging behind VS Code. Zed's docs raise vtsls memory; commenters report mixed results from the tsgo extension, restarts and project cleanup.
Copy for agent
get the whatworks thread zed-typescript-lsp-slow-large-repo-what-helps and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread zed-typescript-lsp-slow-large-repo-what-helps
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks