Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: decide if import statements should have definitions or links #39065
See microsoft/vscode-go#2614 for more context.
Ctrl + Click in VS Code is a shortcut for both jump to definition and opening a link. We provide links to https://pkg.go.dev for import statements, as well as definitions in the form of opening a window that shows the files in the package. The behavior is unintuitive because 2 things happen at once.
Currently, users can disable document links through the
I propose that we create a