OP refers to VSCode being built on web stack. But AFAIK there is little to none actual DOM manipulations after initial setup since everything is rendered on canvas.
At a guess, they're probably sticking with it because it enables Javascript/Typescript as an interfacing language for plugins which, given the language's popularity and cross-platform nature, is probably part of the reason the plugin catalogue is so large.