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: story for custom codelens providers #40516

Open
hyangah opened this issue Jul 31, 2020 · 0 comments
Open

x/tools/gopls: story for custom codelens providers #40516

hyangah opened this issue Jul 31, 2020 · 0 comments

Comments

@hyangah
Copy link
Contributor

@hyangah hyangah commented Jul 31, 2020

gopls started to offer test/benchmark codelenses
for test and benchmark functions that work with the testing package.

The VS Code Go extension that has offered this feature for a while in its own way received multiple
feature requests to support various testing frameworks (e.g. gocheck, ginkgo, testify, ...)
and we expect to get more as more custom testing frameworks show up.

Current VS Code Go's plan is to export necessary symbol information to other extensions, so
these feature requests can be implemented as separate extensions.

However, I think it is more desirable for long term if this type of feature extension works more closely
with gopls. That will allow other editors to benefit from the work, and also more go developers
can contribute.

This is also related to the question of how to support various linters, custom diagnostics providers.
(I couldn't find an open issue about custom linter support yet)

@gopherbot gopherbot added this to the Unreleased milestone Jul 31, 2020
@stamblerre stamblerre removed this from the Unreleased milestone Aug 4, 2020
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
You can’t perform that action at this time.