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

double code lens when "test" set in gopls section of settings.json #1844

Closed
pjweinb opened this issue Oct 15, 2021 · 1 comment
Closed

double code lens when "test" set in gopls section of settings.json #1844

pjweinb opened this issue Oct 15, 2021 · 1 comment

Comments

@pjweinb
Copy link

pjweinb commented Oct 15, 2021

in settings.json,
"codelenses": {
"test": true, // will show the codelenses twice
},
makes the 'run test | debug test' codelens show up twice before each Test function.

(this was first reported on slack by shreyas karnik.)

removing the "test": true line and restarting goes back to having a single 'run test | debug test' codelens before Test functions

@gopherbot gopherbot added this to the Untriaged milestone Oct 15, 2021
@hyangah
Copy link
Contributor

hyangah commented Oct 15, 2021

The current recommendation is not to enable gopls codelenses.

Duplicate of #1103 and eventually #654

@hyangah hyangah closed this as completed Oct 15, 2021
@golang golang locked and limited conversation to collaborators Oct 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants