microsoft / vscode

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

Go to Symbol in Workspace #166782

Closed franklinkf closed 1 year ago

franklinkf commented 1 year ago

Type: Bug

I have moved to a new HP All in One PC. When we search with the above option, system lists the information of few symbols only from my markdown (.md) files. Majority of the symbols are not visibile or recognized.

In my laptop, everything is working fine

Please look into this

Thank you

VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:34:06.111Z) OS version: Windows_NT x64 10.0.19044 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-10500T CPU @ 2.30GHz (12 x 2304)| |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)|7.78GB (1.48GB free)| |Process Argv|--crash-reporter-id 31b6b8c1-20b9-41ee-8513-6cba1293401a| |Screen Reader|no| |VM|0%|
Extensions (52) Extension|Author (truncated)|Version ---|---|--- add-to-snippet|50P|0.2.1 monokai-charcoal-high-contrast|74t|3.4.0 vscode-m3u|af4|1.0.0 Bookmarks|ale|13.3.1 project-manager|ale|12.7.0 code-sum-up|art|0.1.0 insertnumbers|Asu|0.9.1 All-Autocomplete|Ati|0.0.23 file-properties-viewer|bru|1.0.0 dbclient-jdbc|cwe|1.2.1 vscode-autohotkey-plus|cwe|2.7.1 vscode-mysql-client2|cwe|5.9.1 dart-code|Dar|3.52.1 githistory|don|0.6.19 python-environment-manager|don|1.0.4 python-extension-pack|don|1.7.0 xml|Dot|2.5.1 gitlens|eam|13.1.0 remotehub|Git|0.46.0 vbnet|gor|1.0.2 ftp-simple|hum|0.7.6 MagicPython|mag|1.1.0 compare-folders|mos|0.22.3 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.12 remote-containers|ms-|0.262.3 remote-ssh|ms-|0.92.0 remote-ssh-edit|ms-|0.84.0 remote-wsl|ms-|0.72.0 vscode-remote-extensionpack|ms-|0.23.0 remote-explorer|ms-|0.0.2 remote-repositories|ms-|0.24.0 vsliveshare|ms-|1.0.5776 vscode-paste-image|mus|1.0.4 color-highlight|nau|2.5.0 autodocstring|njp|0.6.1 emoji|Per|1.0.1 material-icon-theme|PKi|4.22.0 calc|rai|2.3.1 java|red|1.12.0 LiveServer|rit|5.7.9 vscode-fileutils|sle|3.5.0 vscode-autohotkey|sle|0.2.2 numbermonger|sof|0.5.0 python|tht|0.2.3 pdf|tom|1.2.0 search|use|0.0.1 vscode-java-debug|vsc|0.46.0 vscode-java-pack|vsc|0.25.6 vscode-maven|vsc|0.39.2 vscode-icons|vsc|12.0.1 local-history|xyz|1.8.1 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 vscccc:30610679 pyindex848cf:30577861 nodejswelcome1:30587005 fc301958:30595537 282f8724:30602487 gswce1:30612156 iaj6b796:30613358 dbltrim-noruby:30604474 f6dab269:30613381 ```
vscodenpa commented 1 year ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.73.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

franklinkf commented 1 year ago

I am using the latest version

image

gjsjohnmurray commented 1 year ago

Please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions

franklinkf commented 1 year ago

Start Extension Bisect

I have done that. Still the issue exists

mjbvz commented 1 year ago

/gifPlease

vscodenpa commented 1 year ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.

Happy coding!

franklinkf commented 1 year ago

Will share the screen recording

franklinkf commented 1 year ago

https://user-images.githubusercontent.com/8948123/203499778-54b764a4-c4f6-4730-ad90-086f7b55c9c9.mp4

Enclosed a video explaining the issue

franklinkf commented 1 year ago

In the above video, I have mentioned that the Visual studio is opened as administrator. The issue exists if the visual studio is opened in normal mode also

franklinkf commented 1 year ago

I have further investigated this issue. System displays all symbols in the listing but the same is not getting displayed during search. Following video explains this

https://user-images.githubusercontent.com/8948123/203737283-d27aedf9-6e3e-48a6-b171-b1b58c8858a8.mp4

franklinkf commented 1 year ago

Your attention to this problem is highly appreciated.

mjbvz commented 1 year ago

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

franklinkf commented 1 year ago

Let me check

franklinkf commented 1 year ago

I installed latest VS Code Insiders build. There it is working correctly

image

In the latest stable version, the issue exists

image

franklinkf commented 1 year ago

I checked with installing different versions - Till September update 1.72.2 it is working fine.

mjbvz commented 1 year ago

Thanks for testing. If it works in insiders, then the issue has likely already been fixed (or one of the extensions / settings you had in the stable version was causing this)

The current insiders will go out to stable sometime this week

franklinkf commented 1 year ago

Thank you Sir