microsoft / vscode

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

outline doesn't show symbols for js files #192926

Closed seachad closed 11 months ago

seachad commented 11 months ago

Type: Bug

Open VSCode open outline states: No symbols found in document other files, as .py. show the symbols correctly

example showing the issue with .js file

image

example of .py file showing symbols correctly in outline

image

running vscode: Version: 1.82.1 (user setup) Commit: 6509174151d557a81c9d0b5f8a5a1e9274db5585 Date: 2023-09-08T08:45:05.575Z Electron: 25.8.0 ElectronBuildId: 23503258 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.22621

VS Code version: Code 1.82.1 (6509174151d557a81c9d0b5f8a5a1e9274db5585, 2023-09-08T08:45:05.575Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i7-12700H (20 x 2688)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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.75GB (20.95GB free)| |Process Argv|. --crash-reporter-id bca49de3-bda3-4433-af74-ff68d32c11bd| |Screen Reader|no| |VM|0%|
Extensions (36) Extension|Author (truncated)|Version ---|---|--- vscode-javascript-repl|ach|0.7.4 html-class-suggestions|And|1.2.1 vscode-standardjs-snippets|cap|0.9.0 js-codeformer|cms|2.6.1 doxdocgen|csc|1.4.0 flask-snippets|cst|0.1.3 vs-treeview|DaG|2.7.0 go-to-character-position|dav|2.0.0 githistory|don|0.6.20 python-environment-manager|don|1.2.2 python-extension-pack|don|1.7.0 gitlens|eam|14.3.0 pythonsnippets|frh|1.0.2 copilot|Git|1.111.404 copilot-chat|Git|0.7.0 python-essentials|Jil|0.0.3 vsc-python-indent|Kev|1.18.0 vs-color-picker|lih|1.0.0 MagicPython|mag|1.1.0 git-graph|mhu|1.30.0 python|ms-|2023.16.0 vscode-pylance|ms-|2023.9.10 js-atom-grammar|ms-|0.1.14 javascriptsnippets|nat|0.4.0 color-highlight|nau|2.5.0 python-coding-tools|nil|1.0.4 autodocstring|njp|0.6.1 prettier-vscode-with-tabs|pas|1.1.0 vscode-standard|sta|2.1.3 tabnine-vscode|Tab|3.10.0 vscode-djaneiro|the|1.4.2 python-extended-snippets|tus|0.0.1 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 vscode-icons|vsc|12.5.0 vscode-js-console-utils|wht|0.7.0
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30803844 282f8724:30602487 f6dab269:30613381 a9j8j154:30646983 showlangstatbar:30737416 962ge761:30835153 03d35959:30757346 57b77579:30736110 pythonfmttext:30731395 9b8hh234:30694863 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30805730 pythonnoceb:30805159 dsvsc013:30795093 dsvsc014:30804076 diffeditorv2:30821572 dsvsc015:30829745 ```
VSCodeTriageBot commented 11 months ago

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.

Happy Coding!

VSCodeTriageBot commented 11 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!