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

Disable references code lens #1570

Closed
andy-hanson opened this issue Jun 13, 2017 · 2 comments
Closed

Disable references code lens #1570

andy-hanson opened this issue Jun 13, 2017 · 2 comments

Comments

@andy-hanson
Copy link

Environment data

dotnet --info output:

.NET Command Line Tools (2.0.0-preview1-005977)

Product Information:
 Version:            2.0.0-preview1-005977
 Commit SHA-1 hash:  414cab8a0b

Runtime Environment:
 OS Name:     linuxmint
 OS Version:  18.1
 OS Platform: Linux
 RID:         linuxmint.18.1-x64
 Base Path:   /usr/share/dotnet/sdk/2.0.0-preview1-005977/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0-preview1-002111-00
  Build    : 1ff021936263d492539399688f46fd3827169983

VS Code version: 1.14.0-insider
C# Extension version: 1.10.0

Steps to reproduce

Open any file, see references code lens

Expected behavior

I would like a way to disable the code lens.

Actual behavior

According to microsoft/vscode#10238 there is no way to disable references from within vscode. Could this be an option in omnisharp.json so I can use the xunit codelens but not the references codelens?

@DustinCampbell
Copy link
Member

Good request. Thanks!

@anfomin
Copy link

anfomin commented Jun 14, 2017

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants