Comments (7)
I can reproduce this in gopls' own main.go file on the telemetry.Start symbol. Wow, I can't believe I missed a bug this
shallow during all the testing. Thanks for reporting.
from go.
Similar Issues
- x/tools/gopls: space in package path leads to invalid hover markdown #68026
- x/tools/gopls: add method documentation & jump to page source to hovered type. #66721
- x/tools/gopls: symbol definitions not found after latest vscode/gopls upgrade #66677
- x/tools/gopls: fails to load package for test file #41081
- x/tools/gopls: cannot go to definition when `"ui.navigation.importShortcut": "Link"` #45987
- x/tools/gopls: go to definition doesn't work in VSCode #32608
- x/tools/gopls: missing function name in signature when hovering over built-in function #51811
- x/tools/gopls: gopls returns "getting file for Highlight: no PackageHandles" errors #39624
- x/tools/gopls: go to definition breaks gopls #38503
- x/tools/gopls: not working #37119
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
from go.
Another engineer at $WORK was able to reproduce, although not consistently.
from go.
CC @adonovan
from go.
Change https://go.dev/cl/594556 mentions this issue: gopls/internal/golang: strip @v1.2.3 suffix from pkgdoc URLs
from go.
I installed from master and am having a similar problem.
From doc link in the hover popup: (URL: http://127.0.0.1:63774/gopls/on0HKAhym30/pkg/github.com/google/flatbuffers?view=1#Builder)
![Screenshot 2024-06-27 at 9 31 29 AM](https://private-user-images.githubusercontent.com/103/343864624-69206484-ff84-4760-abcc-4503313cc67c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2NDI4ODMsIm5iZiI6MTcyMzY0MjU4MywicGF0aCI6Ii8xMDMvMzQzODY0NjI0LTY5MjA2NDg0LWZmODQtNDc2MC1hYmNjLTQ1MDMzMTNjYzY3Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxNFQxMzM2MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMzAyYTQzMWYyNDliMzY1YTQyYTEwOTZlYzFiZTU5MmJhZDA3NjgzZThjNmY4NmNlNmZlNGIwMTBjMjk3YTU5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.d3K5Y0LZRzK185vTvjxDa3u7bvxz6weyEKfU5f9Oy80)
From the Source Action: (URL: http://127.0.0.1:63774/gopls/on0HKAhym30/pkg/github.com/google/flatbuffers/go?view=1#Builder
Note the difference in the URLS....
http://127.0.0.1:63774/gopls/on0HKAhym30/pkg/github.com/google/flatbuffers?view=1#Builder
http://127.0.0.1:63774/gopls/on0HKAhym30/pkg/github.com/google/flatbuffers/go?view=1#Builder
The first one doesn't work, the second one does.
from go.
Change https://go.dev/cl/595563 mentions this issue: [gopls-release-branch.0.16] gopls/internal/golang: strip @v1.2.3 suffix from pkgdoc URLs
from go.
Related Issues (20)
- path/filepath: Rel() fails on Windows when only one parameter has `\\?\` prefix HOT 4
- access: Run TryBot Permissions HOT 1
- proposal: net: Add method to get underlying socket file descriptor or method to shutdown the socket HOT 4
- runtime/cgo: new pthread crash _cgo_try_pthread_create HOT 5
- cmd/go: test terminal fail in package list mode, success in local directory mode HOT 7
- database/sql exec and ExecContext RowsAffected() The number of affected lines is inaccurate HOT 1
- x/mobile: no exported names in the package when go 1.22.4 on windows HOT 2
- crypto/tls: Can't create a request using just one cipher suite with TLS v1.3 HOT 5
- net/http: http.ServerMux, paths ending in * wildcard are not recognized. HOT 3
- cmd/compile: in `prove.go:addLocalFacts` `ft.update` propagates limits depends on value ordering and can't propagate `ft.update` → `ft.flowLimit` dependencies HOT 3
- go1.23.0 installation problem HOT 2
- telemetry.go.dev/privacy: "Internal Server Error" HOT 4
- proposal: add date to release notes HOT 1
- runtime: SIGSEGV in preemptone HOT 2
- os/exec: TestCatGoodAndBadFile failures on illumos HOT 6
- The `go env` cannot be overwrite by the `env` HOT 4
- syscall/js: js.Func loses reference, so using removeEventListener(event, callback) is impossible in WebASM HOT 1
- cmd/internal/testdir: Test/initexp.go failures HOT 1
- /sys_linux_loong64.s:360 Segment error occurred HOT 4
- The wasm compiled by go cannot be run using the iwasm tool provided by wasm-micro-runtime HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go.