

The maintenance of the code will vary.Įxtensions written by Microsoft are not immune to these shortcomings, but they are less likely to suffer from them. These choices affect their performance.Įxtensions are mostly open source side projects written by developers. The VS Code Docs recommends doing this to improve loading times, but many extensions don't do this.

You can bundle and minify your source files into a single file if you wish.

Extensions can include Node modules as dependencies. Most extensions are written in TypeScript, but they can also be written in JavaScript. So how do we know when an extension is active? There is no feedback in the editor indicating if an extension is active or not. This is specified through Activation Events, which we will discuss later.

The author of the extension decides this. Not all extensions are created equalĮdit of "Blindfolded Lady Justice" by Tingey Injury Law Firm on UnsplashĮxtensions are loaded and unloaded under different conditions. He's done a lot of work to make it as straightforward as possible. If you want to try it out for yourself, you can follow the instructions he has laid out. I've maintained the project for a few years now and it has expanded from providing binaries for Pi to providing support and tools to get VS Code running on low-end ARM devices that might not otherwise support it like Chromebooks (which make up about 60% of the devices in schools now). Jay Rodgers released an open-source project that performs nightly builds of VS Code for Raspberry Pi and Chromebooks. Unofficial community builds for Raspberry Pi and Chromebooks
