Skip to content

Cannot show .js outline after opening long simple .js file #60677

@capobandaf

Description

@capobandaf

Issue Type: Performance Issue

Open VS Code. Open workspace "lib-translit". If there are any open files, close all the files and restart Code.

Open file TranslitTable.js. Show outline pane and wait for symbols to show.
Open file dict_en.js. Wait for symbol (there is only one) to show. (This is
an encoded CMUDICT-based dictionary, about 10000 lines long)
Open file Translitor.js.

Notice: the processor usage is high. Usually, after few minutes it shows "No symbols found in document 'Translitor.js'". It seems to be a bit random. Only once it happened to me that the symbols were shown, but the symbols for the next .js file were not shown, see next paragraph.

If it shows the symbols, open the file DomAnnotator.js or yet another .js file. This last file doesn't show any symbols.

Note: If dict_en.js is not opened, the symbols for all the files are shown quickly.

VS Code version: Code 1.28.0 (431ef9d, 2018-10-05T14:58:53.203Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz (4 x 2594)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 7.89GB (4.36GB free)
Process Argv
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    1	    68	  8168	code main
    0	    47	  1656	   shared-process
    0	   119	  7836	   gpu-process
    0	    67	  8236	   window (Issue Reporter)
    0	    88	 11804	   window (Translitor.js - lib-translit (Workspace) - Visual Studio Code)
    0	    20	  3960	     watcherService
    0	    61	  8716	     extensionHost
   27	   653	 10436	       electron_node tsserver.js 
    0	    58	  2028	         electron_node typingsInstaller.js typesMap.js 
    0	    11	  9340	     electron-crash-reporter
Workspace Info
|  Window (Translitor.js - lib-translit (Workspace) - Visual Studio Code)
|    Folder (translit): 7 files
|      File types: js(6) css(1)
|      Conf files:;
Extensions: none

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugjavascriptJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions