DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
322 stars 86 forks source link

Color formatting goes away for huge XML file #281

Closed PascalFilion closed 4 years ago

PascalFilion commented 5 years ago

Issue Type: Bug

I have an XML file that is 12.4 MB, 318 328 lines. When I open the file, I see the color for the XML elements but within a second after the file is opened, the colors go away.

Extension version: 2.5.0 VS Code version: Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:30:02.622Z) OS version: Windows_NT x64 10.0.18362

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)| |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
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.88GB (3.28GB free)| |Process Argv|C:\Development\Active\active\Qbc.Active\Qbc.Active\packages.config| |Screen Reader|no| |VM|0%|
joshuaavalon commented 5 years ago

It is disabled by VS Code. You can force it by setting editor.largeFileOptimizations to false.