vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Interferes with 'Developer: Inspect Editor Tokens and Scopes'

Open smarpug opened this issue 2 years ago • 4 comments

Type: Bug

Install extension C/C++ for Visual Studio Code by Microsoft. Open command 'Developer: Inspect Editor Tokens and Scopes' from command palette on any text in editor. A pop-up text block "Loading..." appears and never changes.

Extension version: 1.12.4 VS Code version: Code 1.71.0 (784b0177c56c607789f9638da7b6bf3230d47a8c, 2022-09-01T07:36:10.600Z) OS version: Windows_NT x64 10.0.19044 Modes: Sandboxed: No

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 1690)
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
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 15.73GB (6.03GB free)
Process Argv --crash-reporter-id 01b459bc-0404-4f2c-ae55-603fd82973ac
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
pylanb8912:30545647
vsclangdc:30486549
c4g48928:30535728
hb751961:30553087
dsvsc012cf:30540253
azure-dev_surveyone:30548225
2144e591:30553903

smarpug avatar Sep 01 '22 22:09 smarpug

image

smarpug avatar Sep 01 '22 22:09 smarpug

Disabling installed extension C/C++ for Visual Studio Code causes this problem to go away and the Developer command works as expected: image

smarpug avatar Sep 01 '22 22:09 smarpug

You should be able to set C_Cpp.enhancedColorization to "Disabled" as a workaround.

Something may be causing our semantic token provider to not provided the info it needs or it could not be ready yet.

In order to fix the root cause we'd need more info to repro the issue.

sean-mcmanus avatar Sep 02 '22 00:09 sean-mcmanus

This issue has been closed because it needs more information and has not had recent activity.

github-actions[bot] avatar Nov 01 '22 11:11 github-actions[bot]