For one, by not allowing someone to just take their code and use it in another editor to offer the same "remote development" etc features using their (MS's) work.
So they control the value from those closed features to only be used to enhance the VSCode and VS brand.
So they control the value from those closed features to only be used to enhance the VSCode and VS brand.