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

Missing default settings for language servers #22472

Closed
1 task done
injust opened this issue Dec 28, 2024 · 2 comments
Closed
1 task done

Missing default settings for language servers #22472

injust opened this issue Dec 28, 2024 · 2 comments
Labels

Comments

@injust
Copy link
Contributor

injust commented Dec 28, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

The default settings do not show anything for language_servers:

{
  // This is typically customized on a per-language basis.
  "language_servers": ["..."]
}

Zed Version and System Specs

Zed: v0.166.1 (Zed)
OS: macOS 15.2.0
Memory: 16 GiB
Architecture: x86_64

If applicable, add screenshots or screencasts of the incorrect state / behavior

No response

If applicable, attach your Zed.log file to this issue.

No response

@injust injust added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Dec 28, 2024
@JosephTLyons
Copy link
Collaborator

Hey @injust, this is actually expected. The comment there is mentioning that we don't have a global default because these are configured on a per-language basis. We have default language servers configured for certain languages. You can view these by:

  1. Opening the command palette (cmd-shift-p)
  2. Running zed: open default settings

That will open our defaults file and you can search for language_servers and you'll see language configurations like this:

    "Elixir": {
      "language_servers": ["elixir-ls", "!next-ls", "!lexical", "..."]
    },
    "Erlang": {
      "language_servers": ["erlang-ls", "!elp", "..."]
    },

@JosephTLyons JosephTLyons added unactionable and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jan 3, 2025
@injust
Copy link
Contributor Author

injust commented Jan 5, 2025

@JosephTLyons There are no such defaults for Python, for example. This, combined with the outdated docs, makes #22471 very annoying.

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

No branches or pull requests

2 participants