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

Can not disable Reference Code Lens #5809

Closed
kemsky opened this issue Jun 14, 2023 · 1 comment · Fixed by #6001
Closed

Can not disable Reference Code Lens #5809

kemsky opened this issue Jun 14, 2023 · 1 comment · Fixed by #6001

Comments

@kemsky
Copy link

kemsky commented Jun 14, 2023

Environment data

dotnet --info output:
.NET SDK:
Version: 7.0.100
Commit: e12b7af219

Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /home/xxx/.dotnet/sdk/7.0.100/

Host:
Version: 7.0.0
Architecture: x64
Commit: d099f075e4

.NET SDKs installed:
3.1.422 [/home/xxx/.dotnet/sdk]
6.0.400 [/home/xxx/.dotnet/sdk]
7.0.100 [/home/xxx/.dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.28 [/home/xxx/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.8 [/home/xxx/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0 [/home/xxx/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.28 [/home/xxx/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.8 [/home/xxx/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0 [/home/xxx/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_ROOT [/home/xxx/.dotnet]

global.json file:
Not found

VS Code version: 1.79.0
C# Extension version: v2.0.212

OmniSharp log

Steps to reproduce

C# extension has option to enable/disable reference code lens but it has no effect, lens always on:

image

Expected behavior

Should enable or disable reference code lens

Actual behavior

does nothing

Additional context

Used to work in v1

@dibarbet
Copy link
Member

dibarbet commented Aug 5, 2023

This will be in next weeks release

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

Successfully merging a pull request may close this issue.

4 participants