I think that MS provides these extensions as plugins. The core of VSCode is OSS, it's the extra bits that have a different license.