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

Configure debug/run links in the editor #964

Closed
whitlockjc opened this issue May 4, 2017 · 6 comments
Closed

Configure debug/run links in the editor #964

whitlockjc opened this issue May 4, 2017 · 6 comments

Comments

@whitlockjc
Copy link

The latest update added a ton of new features, thank a lot. I wanted to cleanup some of the editor cluster and I found go.referencesCodeLens.enabled but I don't see any way to turn off the debug/run links for debugging/running tests. Are there plans to make it configurable to see these in the editor?

@ramya-rao-a
Copy link
Contributor

@ironcladlou had the same question :) #937 (comment)

As concluded in the linked thread, you can turn off all codelens by setting editor.codeLens to false
You can also turn off all codelens only in Go files, by adding the language scope to the same setting.

Based on the feedback, we can add the setting in the next update

@goenning
Copy link
Contributor

goenning commented May 4, 2017

You can disable it by setting ’editor.codeLens’ to false.

@whitlockjc
Copy link
Author

I apologize. I searched but didn't see anything that seemed related. I'll close as a duplicate.

@ramya-rao-a
Copy link
Contributor

Not at all, that discussion was in a PR. We can still use this one to track whether we want to include settings for each codelens type

@ramya-rao-a
Copy link
Contributor

Alright, I didnt want to drag the discussion out too long.

Since my main concern was not having multiple settings, that is now solved by a single setting

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

Problem solved.

Happy Coding everyone!

@whitlockjc
Copy link
Author

I love that approach. :) I like the ability to turn it off completely, as linked in the previous issue, but at some point it might be nice to cherry-pick the ones I do like and your new approach solves this. Thank you. :)

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 24, 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

3 participants