mtbaqer / vscode-better-folding

VS Code extension to improve your folding experience
https://marketplace.visualstudio.com/items?itemName=MohammadBaqer.better-folding
MIT License
320 stars 9 forks source link

Significantly slower autocomplete suggestions in CSS #20

Open m-jakubowski opened 1 year ago

m-jakubowski commented 1 year ago

With extension enabled, autocomplete suggestions in CSS file appear way slower than normally, with like almost a second delay...

To Reproduce Just try typing basic CSS parameters like: display: ...

Autosuggestions appear with huge delay. Almost no other extensions are enabled, apart from GitHub Pull requests, repositories, etc. Disabling Better Folding fixes things immediately.

React autosuggestions in .tsx files work pretty much normally.

macOS 13.1 VSCode Version: 1.74.3 (Universal)

mtbaqer commented 1 year ago

Just pushed a new update 0.3.1 that have a little performance boost. Would you mind trying it and see if it makes it any better?

m-jakubowski commented 1 year ago

Hey! I've just checked and there seems to be no improvement 😕 However, I've also checked something else — in a clean, new CSS file autosuggestions seem to appear pretty fast, although my main CSS file has about 3K lines... Maybe that's the problem... Also, my other CSS file, with about 600 lines, seems to work just a fraction of a second slower than normally, so apparently the size of a file affects somehow performance...

m-jakubowski commented 1 year ago

Here you have a comparison of autosuggestions with Better Folding enabled and disabled (CSS file ~3K lines):

https://user-images.githubusercontent.com/43424760/216797315-d1bcc86a-7ce9-45df-a963-b8fbd84f1552.mov

https://user-images.githubusercontent.com/43424760/216797314-677d72a5-33b8-4ffe-b6d1-30b79247d6b5.mov

mtbaqer commented 1 year ago

Just published 0.4.0 which should be significantly faster. Let me know if it is any better.

m-jakubowski commented 1 year ago

Just checked it — no difference... 😕