Skip to content

Not getting symbols #70

@jens-hj

Description

@jens-hj

What happened?

I am working on Java 8 projects, and I see that there is some special arguments listed on eclipse-jdtls, however, I wouldn't even know how to give that through the Zed Java extension settings. Currently my settings look like this:

{
  "lsp": {
    "jdtls": {
      "initialization_options": {
        "settings": {
          "java": {
            "home": "C:\\Program Files\\Zulu\\zulu-24",
            "format": {
              "enabled": true
            }
          }
        }
      }
    }
  }
}

This successfully gives me syntax highlighting and formatting. However, I don't get any symbols; the symbols search with Ctrl+T shows nothing, I am unable to Ctrl+Click a symbol to move to its implementation. I also get 2 errors in project diagnostics, but when I open it there is no content at all; see the two screenshots below.

The language server diagnostics button in the bottom left:
Image

The buffer that opens when the above button is clicked to open the diagnostics:
Image

What did you expect to happen?

I expect to get symbols. I also hope I can run gradle tasks through Zed?

Environment

Zed: v0.198.0
Platform: Windows 11 23H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions