You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I open a Go project, Zed shows the Setting up workspace: Loading packages... message in the status bar, without an indication of any progress (see attached screenshot).
That is, the spinner is spinning for the past 20 minutes. Clicking on the status bar message doesn't do anything but shows a hint with the same "Setting up workspace" message.
I cannot tell if this is a UI bug, or something is wrong with the LSP (gopls; version golang.org/x/tools/gopls v0.18.0). The basic features, like "Rename symbol", "Go to definition" and "Show help for a thing under the cursor" work.
In the logs, that I'm aware of, I don't see any error messages:
Zed.log
› tail -f ~/Library/Logs/Zed/Zed.log
2025-02-22T10:21:45.370869+01:00 [INFO] Opening main db
2025-02-22T10:21:45.378613+01:00 [INFO] Opening main db
2025-02-22T10:21:45.394685+01:00 [INFO] attempting to start language server "gopls", path: "/Users/varankinv/Documents/Code/playground-go/net-inmem-listener", id: 1
2025-02-22T10:21:45.394859+01:00 [INFO] using project environment variables from CLI. PATH="<··>"
2025-02-22T10:21:45.39495+01:00 [INFO] found user-installed language server for gopls. path: "/Users/varankinv/.local/bin/gopls", arguments: ["-mode=stdio"]
2025-02-22T10:21:45.395039+01:00 [INFO] starting language server process. binary path: "/Users/varankinv/.local/bin/gopls", working directory: "/Users/varankinv/Documents/Code/playground-go/net-inmem-listener", args: ["-mode=stdio"]
2025-02-22T10:21:45.586593+01:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2025-02-22T10:21:46.055699+01:00 [INFO] add_connection;
2025-02-22T10:21:46.056039+01:00 [INFO] set status on client 145054: Connected { ··· }
2025-02-22T10:21:46.222027+01:00 [INFO] using project environment variables from CLI. PATH="<··>"
Steps to trigger the problem:
Open a Go project in Zed.
Actual Behaviour:
Zed permanently shows the "Setting up workspace" message.
Summary
When I open a Go project, Zed shows the
Setting up workspace: Loading packages...
message in the status bar, without an indication of any progress (see attached screenshot).That is, the spinner is spinning for the past 20 minutes. Clicking on the status bar message doesn't do anything but shows a hint with the same "Setting up workspace" message.
I cannot tell if this is a UI bug, or something is wrong with the LSP (
gopls
; versiongolang.org/x/tools/gopls v0.18.0
). The basic features, like "Rename symbol", "Go to definition" and "Show help for a thing under the cursor" work.In the logs, that I'm aware of, I don't see any error messages:
Zed.log
Steps to trigger the problem:
Actual Behaviour:
Zed permanently shows the "Setting up workspace" message.
Expected Behaviour:
n/a
Zed Version and System Specs
Zed: v0.175.3 (Zed Preview)
OS: macOS 15.3.1
Memory: 16 GiB
Architecture: aarch64
The text was updated successfully, but these errors were encountered: