Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Option to disable "run test | debug test" links #1141

Closed
VojtechVitek opened this issue Aug 11, 2017 · 3 comments
Closed

Option to disable "run test | debug test" links #1141

VojtechVitek opened this issue Aug 11, 2017 · 3 comments

Comments

@VojtechVitek
Copy link

Hi,

just a minor nit -- is there any way to disable these two links?

screen shot 2017-08-11 at 4 32 00 pm

When writing tests, these lines show up when the code is OK, but they disappear every time there's a syntax error - effectively every time I save a _test.go file that doesn't compile.

The showing up / hiding causes the code to jump up and down and it gets too much of my attention and slows me down.

Thanks for the coolest extension for Go out there! I'm very happy user otherwise.

Best,
- Vojtech

@ramya-rao-a
Copy link
Contributor

@VojtechVitek

To disable all codelens in VS Code, set editor.codeLens to false
To disable Go related codelens, set the below

"go.enableCodeLens": {
    "references": false,
    "runtest": false
  }

@VojtechVitek
Copy link
Author

Works like charm. Thanks a lot! 👍

@ramya-rao-a
Copy link
Contributor

No problem, Happy Coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants