Skip to content

Show language server path in language server menu#47037

Merged
JosephTLyons merged 1 commit intomainfrom
Show-language-server-path-in-language-server-menu
Jan 18, 2026
Merged

Show language server path in language server menu#47037
JosephTLyons merged 1 commit intomainfrom
Show-language-server-path-in-language-server-menu

Conversation

@JosephTLyons
Copy link
Collaborator

@JosephTLyons JosephTLyons commented Jan 17, 2026

SCR-20260116-qrif

In most languages, Zed will check 2-3 locations for language servers. For instance, when opening a python file, zed looks for ruff in:

  • project venv
  • user's PATH
  • location that zed installs language servers

The language server menu surfaces information that makes it easier to gather data about your language server, I think offering a path for the one being ran makes things more clear to the user.

That being said, Idk the best way to surface this. (@danilo-leal?)

Release Notes:

  • Add language server path to a tooltip that is produced when hovering on its status in the language server menu

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 17, 2026
@niekdomi
Copy link
Contributor

niekdomi commented Jan 17, 2026

Not sure if this is unrelated, but e.g., for clangd the version is quite verbose:
image

I think truncation could improve the ui.

Sorry, if this is noise

@JosephTLyons JosephTLyons force-pushed the Show-language-server-path-in-language-server-menu branch from 28bc52a to 788b53a Compare January 17, 2026 23:09
@JosephTLyons
Copy link
Collaborator Author

JosephTLyons commented Jan 18, 2026

I'm going to go ahead and ship this, as we currently have tooltips with paths in them in Zed (see below), and this UI is fairly hidden. We can iterate in future PRs if this isn't ideal.

SCR-20260118-pksw

@JosephTLyons JosephTLyons marked this pull request as ready for review January 18, 2026 22:46
@JosephTLyons JosephTLyons enabled auto-merge (squash) January 18, 2026 22:55
@JosephTLyons JosephTLyons force-pushed the Show-language-server-path-in-language-server-menu branch from 156d886 to e28e9b2 Compare January 18, 2026 23:01
@JosephTLyons JosephTLyons merged commit e476af6 into main Jan 18, 2026
24 checks passed
@JosephTLyons JosephTLyons deleted the Show-language-server-path-in-language-server-menu branch January 18, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants