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

language servers: Fix wrong language server name #20428

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

mrnugget
Copy link
Member

@mrnugget mrnugget commented Nov 8, 2024

This fixes the issue of multiple language servers showing up as node in the language server logs dropdown.

It does this by changing language_server.name() to return the adapter's name, not the binary name, and changing types to make sure that we always use this.

Release Notes:

  • Fixed language server names showing up only as "node"

This fixes the issue of multiple language servers showing up as `node` in the
language server logs dropdown.

It's still WIP because we need to figure out how this works when doing remoting,
because that doesn't seem to work well.

Co-authored-by: Sam Rose <hello@samwho.dev>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 8, 2024
@mrnugget mrnugget marked this pull request as ready for review November 11, 2024 08:03
@mrnugget mrnugget merged commit a97ab5e into main Nov 11, 2024
10 checks passed
@mrnugget mrnugget deleted the fix-language-server-names branch November 11, 2024 09:18
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.

1 participant