Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto tag completion slows down. #123

Open
Electricz0 opened this issue Mar 27, 2022 · 3 comments
Open

Auto tag completion slows down. #123

Electricz0 opened this issue Mar 27, 2022 · 3 comments

Comments

@Electricz0
Copy link

Issue Type: Bug

With indent-rainbow enabled, tag completion in html files slows to a crawl and often fails when typing quickly.

Extension version: 8.2.2
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T14:33:55.248Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info
Item Value
CPUs AMD Ryzen 7 2700X Eight-Core Processor (16 x 3700)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.95GB (5.76GB free)
Process Argv --crash-reporter-id 51d3ba80-3cf0-441f-9859-cc0f88ac95d9
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc009:30452663
pythonvsnew555:30457759
vscscmwlcmc:30438804
vscgsvid2:30447481
cppdebug:30451566
vscaat:30438848
pynewfile477:30450038

@oderwat
Copy link
Owner

oderwat commented Mar 27, 2022

Never heard of this from 3 million installations. How could I try to reproduce it?

@Electricz0
Copy link
Author

I was working with a VERY large HTML file, over 1,300 lines when I noticed the issue. To test it, I copied the source from a webpage (over 3,000 lines) into vscode and tried typing in a tag. With the rainbow enabled, the automatic tag closing would lag noticeably and fail if I typed too fast. With the extension disabled, it would work fine. I'm not sure if this will help, but I thought I would mention the issue.

@oderwat
Copy link
Owner

oderwat commented Mar 27, 2022

I don't find 1,300 lines large. I just loaded a 78k lines HTML file into the editor and I can work without problems.

image

When I copy and paste big blocks, I can see how indent-rainbow "slowly" updates the view but I can just type normally. I guess there may be some interaction between the plugins which results in the problem. I fear I can't do anything about it. I would suggest that you simply disable the plugin for HTML or don't use it at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants