Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: add go-to-examples and go-to-tests action #43074

Open
icholy opened this issue Dec 8, 2020 · 1 comment
Open

x/tools/gopls: add go-to-examples and go-to-tests action #43074

icholy opened this issue Dec 8, 2020 · 1 comment

Comments

@icholy
Copy link

@icholy icholy commented Dec 8, 2020

What did you do?

Tried to find examples/tests for the identifier under my cursor.

What did you expect to see?

Some type of GoExamples or GoTests command to navigate to relevant example/tests.

What did you see instead?

For examples, I had to open the http://pkg.go.dev and for tests I need to manually search for them.

@gopherbot gopherbot added this to the Unreleased milestone Dec 8, 2020
@icholy icholy changed the title x/tools/gopls: add go-to-example and go-to-test action x/tools/gopls: add go-to-example and go-to-tests action Dec 8, 2020
@icholy icholy changed the title x/tools/gopls: add go-to-example and go-to-tests action x/tools/gopls: add go-to-examples and go-to-tests action Dec 8, 2020
@stamblerre stamblerre removed this from the Unreleased milestone Dec 8, 2020
@stamblerre stamblerre added this to the gopls/unplanned milestone Dec 8, 2020
@icholy
Copy link
Author

@icholy icholy commented Dec 8, 2020

As @tv42 pointed out on reddit, the go-to-tests action would be difficult to implement because there is no naming convention currently linking tests to types/methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants