Gopls web-based features not opening on browser #14608
Unanswered
xaniasd
asked this question in
Troubleshooting
Replies: 1 comment
-
|
Got the same behavior with another editor (Zed), VSCode seems to be working correctly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to invoke one of gopls' web-based features (e.g., browse feature documentation), the corresponding page does not open on the browser. Helix displays a message instead (
Gopls: open your browser to https://github.com/golang/tools/blob/master/gopls/doc/features/index.md)This worked correctly in the past so it's probably a user error and not a bug. Tried on linux + macos, with two Helix versions (25.07.1 and 25.01.1) and various LSP configuration including the default one. Couldn't get it to work unfortunately, so I'm reaching out here. Appreciate any pointers!
Here are some relevant logs:
`
2025-10-16T09:31:32.459 helix_lsp::transport [INFO] gopls -> {"jsonrpc":"2.0","method":"codeAction/resolve","params":{"command":{"arguments":["https://github.com/golang/tools/blob/master/gopls/doc/features/index.md"],"command":"gopls.client_open_url","title":"Browse gopls feature documentation"},"kind":"gopls.doc.features","title":"Browse gopls feature documentation"},"id":12}
2025-10-16T09:31:32.460 helix_lsp::transport [INFO] gopls <- {"jsonrpc":"2.0","result":{"title":"Browse gopls feature documentation","kind":"gopls.doc.features","command":{"title":"Browse gopls feature documentation","command":"gopls.client_open_url","arguments":["https://github.com/golang/tools/blob/master/gopls/doc/features/index.md"]}},"id":12}
2025-10-16T09:31:32.460 helix_lsp::transport [INFO] gopls -> {"jsonrpc":"2.0","method":"workspace/executeCommand","params":{"arguments":["https://github.com/golang/tools/blob/master/gopls/doc/features/index.md"],"command":"gopls.client_open_url"},"id":13}
2025-10-16T09:31:32.461 helix_lsp::transport [INFO] gopls <- {"jsonrpc":"2.0","method":"window/showMessage","params":{"type":3,"message":"Gopls: open your browser to https://github.com/golang/tools/blob/master/gopls/doc/features/index.md"}}
2025-10-16T09:31:32.461 helix_lsp::transport [INFO] gopls <- {"jsonrpc":"2.0","result":null,"id":13}
`
Beta Was this translation helpful? Give feedback.
All reactions