4 ms·
Visual Studio Code extensions are run at an arms-length from the core editor in an ExtensionHost sandbox. The OG Electron editor Atom is much more suitable as a
by kryptiskt 5y ago
Visual Studio Code extensions are run at an arms-length from the core editor in an ExtensionHost sandbox. The OG Electron editor Atom is much more suitable as a 21st century Emacs architecture-wise, it allows extensions free reign. There is a big cost to this, it has suffered a lot of performance and upgrade compatibility problems stemming from this, so it's not strange that VS Code made the choices it did.
Practically speaking, now that VS Code extensions can present web views, they can be arbitrarily powerful as long as they don't need to mess with the editor's internals that is not exposed by the extension API. So making things like a mail reader or pixel editor is fine. Rearranging the whole UI is not.