Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP only loads when launching zed via cli #25404

Open
zacowan opened this issue Feb 22, 2025 · 0 comments
Open

LSP only loads when launching zed via cli #25404

zacowan opened this issue Feb 22, 2025 · 0 comments

Comments

@zacowan
Copy link

zacowan commented Feb 22, 2025

Summary

Launching Zed normally does not automatically load necessary LSPs for the project, but using zed [workspace] correctly loads the LSPs.

Steps to trigger the problem:

  1. Install Zed.
  2. Open Zed.
  3. Install the Zed CLI via the menu.
  4. Open any project with Zed (I've tried TypeScript projects with eslint/prettier/tailwind and a Go project).
  5. Open a file and note that the primary LSP for the language (TypeScript or Go) does not load.
  6. Close Zed.
  7. Open a terminal.
  8. Open the same project using zed [workspace].
  9. Note that immediately upon the workspace loading, the LSP for the language (TypeScript or Go) is loaded.
  10. Open a file and note that LSP features are enabled.

Actual Behavior:
Opening a file (not using the CLI) does not load the primary LSP for the language (TypeScript or Go) as soon as the workspace loads.
Expected Behavior:
Opening a file (not using the CLI) correctly loads the primary LSP for the language (TypeScript or Go) as soon as the workspace loads.

Zed Version and System Specs

Zed: v0.174.6 (Zed)
OS: macOS 15.3.1
Memory: 16 GiB
Architecture: aarch64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant