microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.08k stars 28.52k forks source link

Cannot disable csharp references count since latest vscode update #189647

Closed cybernaut4 closed 1 year ago

cybernaut4 commented 1 year ago

Type: Bug

This setting doesn't work anymore: "csharp.referencesCodeLens.enabled": false

I'm seeing the count everywhere regardless of property set to false in User Settings (AppData/Roaming/Code/User/settings.json)

VS Code version: Code 1.81.0 (6445d93c81ebe42c4cbd7a60712e0b17d9463e97, 2023-08-02T12:37:13.485Z) OS version: Windows_NT x64 10.0.19044 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 5900HX with Radeon Graphics (16 x 3294)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.42GB (16.34GB free)| |Process Argv|--crash-reporter-id 48add100-9f86-498e-aeb1-e88db38b50eb| |Screen Reader|no| |VM|0%|
Extensions (14) Extension|Author (truncated)|Version ---|---|--- omftournlst|und|0.0.1 omftournpht|und|0.0.1 omftourncmp|und|0.0.1 vscode-glsl|GeF|0.2.10 gdscript|jjk|0.0.2 vscode-nuget-package-manager|jmr|1.1.6 csharp|ms-|2.0.320 vscode-dotnet-runtime|ms-|1.6.0 mono-debug|ms-|0.16.3 sublime-keybindings|ms-|4.0.10 godot-csharp-vscode|nei|0.2.1 shader|sle|1.1.5 unrealscript|und|0.0.1 sublime-commands|Zar|0.1.0
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30792226 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30803844 3biah626:30602489 f6dab269:30613381 showlangstatbar:30737416 vsctsb:30748421 a2ce3375:30757347 pythonfmttext:30731395 pythoncmv:30756943 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 gsofb:30804716 pythonnosmt12:30797651 pythonidxptcf:30805731 pythonnoceb:30805159 e537b577:30795824 dsvsc013:30795093 dsvsc014:30804076 ```
cybernaut4 commented 1 year ago

Since my VSCode installation auto-updated today, now it is syntax checking as I type, with no delay; it has switched from OmniSharp to Roslyn on its own.

This change isn't documented anywhere and it is currently incompatible with "C# Tools for Godot" plugin (it doesn't recognize project-specific Signals and Methods, eg. SignalName.MySignal and MethodName.MyFunction).

gjsjohnmurray commented 1 year ago

/causedByExtension

VSCodeTriageBot commented 1 year ago

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.

Happy Coding!