Bloatware
November 27, 2024•175 words
I've been experimenting VS Code since a little while. The editor itself is probably not that bad, it just needs some time to adjust the editor to me and adjust myself to the editor.
Quite soon I noticed that viewing plain diff files is a bit lacking: no outline is shown to jump from file to file. I learned this can be achieved by writing an extension. But how to write one?
Well, I still haven't a working extension, but I installed Docker so I can use a 500 MB image which contains yeoman to generate a boilerplate VS Code Extension. The boilerplate is roughly 150K, the TypeScript file with the actual extension is just over 1 KB.
I learned about Dev Containers and I think it's a pretty neat idea. So now my extension development happens in a dev container whose image is 2.5 GB large.
The project contains 12 different configuration files and has 69 MB worth of node.js modules. All to show a Hello World in a VS Code window.
I'm amazed.