-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Description
From the Code documentation:
All extensions when activated run in our shared extension host process. This separate process for extensions ensures that VS Code remains responsive through-out.
I think that, in general, is a great approach as responsiveness is very important. However, I would argue that the current model could be even better. Currently, it does not account for some use cases. In these cases serious responsiveness problems can still be encountered.
I use Code together with VSCodeVim. Recently I was having a problem with one of the extensions I've installed. The extension was misbehaving and using a lot of CPU. Since both VSCodeVim and the misbehaving extension was running on the same thread editing was made completely impossible.
Extensions like VSCodeVim becomes their user's primary way of interacting with their editor. If the VSCodeVim extension is unresponsive due to another extension then the whole editing experience is unresponsive.
I would argue that key extensions like VSCodeVim should be allowed to run on the main thread or a thread separate from the other extensions. Otherwise using extensions like VSCodeVim will always result in a less responsive and less stable editing experience.