VScode unstable editing a very long CSS file #10345
Labels
bug
Issue identified by VS Code Team member as probable bug
emmet
Emmet related issues
freeze-slow-crash-leak
VS Code crashing, performance, freeze and memory leak issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
I'm editing a very long ~11.000 lines CSS file (attached), and VSCode is behaving surprising well, but I've found some problems:
global.zip
1- TAB insertion is very slow, every time I push TAB the editor halt for about 1 second.
2- Sometimes the editor becomes unresponsive, and a popup instructs me to close or restart
3- Sometimes seems that only Monaco halts. I can change tabs, etc, but I can't edit any file.
That usually happens when I'm editing near the end of the file. Extensions make things worse, but I can reproduce the problem without any extensions.
To reproduce: try to type fast and use TAB and ENTER as much as possible. CTRL+S from time to time. In my tests I can hang the editor just hitting TAB and ENTER like a maniac.
I'm really "ok" about some slowness giving the size of the file, but I believe that the editor should try not to hang and lose the user work.
The text was updated successfully, but these errors were encountered: