Vscode-gitlens: `gitlens.codeLens.scopes` setting cannot be empty

Created on 28 Feb 2018  路  5Comments  路  Source: eamodio/vscode-gitlens

  • GitLens Version: v8.0.2
  • VSCode Version: 1.20.1
  • OS Version: OSX 10.13.3 (17D102)

screen shot 2018-02-28 at 12 57 43 pm

question

Most helpful comment

What are you trying to do that you don't want any scopes? Having no scopes is akin to just turning off the code lens, so use "gitlens.codeLens.enabled": false instead if you want to disable it.

You can also just use interactive settings editor built into GitLens to configure things how you'd like. You can open it from the command palette GitLens: Open Settings 馃槃

All 5 comments

What are you trying to do that you don't want any scopes? Having no scopes is akin to just turning off the code lens, so use "gitlens.codeLens.enabled": false instead if you want to disable it.

You can also just use interactive settings editor built into GitLens to configure things how you'd like. You can open it from the command palette GitLens: Open Settings 馃槃

@eamodio I just want this to be visible during editing:
eamodio-vscode-gitlens-300

Is that an acceptable use case?

The scopes only affect the code lens, not the current line blame (or anything else). So I'm still not sure what you are looking to do. But I would recommend opening the interactive settings editor, because it will show you visually how each setting works and how it will behave.

"gitlens.codeLens.enabled": false from your edit works for me. Thanks!

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rfgamaral picture rfgamaral  路  3Comments

DavidBabel picture DavidBabel  路  3Comments

obrejla picture obrejla  路  3Comments

ahhmarr picture ahhmarr  路  3Comments

roblourens picture roblourens  路  4Comments