vscode-better-folding icon indicating copy to clipboard operation
vscode-better-folding copied to clipboard

Significantly slower autocomplete suggestions in CSS

Open m-jakubowski opened this issue 2 years ago • 5 comments

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)

m-jakubowski avatar Feb 03 '23 16:02 m-jakubowski

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?

mtbaqer avatar Feb 04 '23 01:02 mtbaqer

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 avatar Feb 05 '23 01:02 m-jakubowski

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

m-jakubowski avatar Feb 05 '23 01:02 m-jakubowski

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

mtbaqer avatar Feb 08 '23 00:02 mtbaqer

Just checked it — no difference... 😕

m-jakubowski avatar Feb 09 '23 21:02 m-jakubowski