Technically, it seems to be possible to use Visual Studio Code as IDE for C++ development in combination with the Microsoft C++ Build Tools (2019), see https://code.visualstudio.com/docs/cpp/config-msvc. But the license agreement for the Microsoft C++ Build Tools 2019 seem to forbid that:
"You may install and use any number of copies of the software to use solely with Visual Studio Community, Visual Studio Professional, and Visual Studio Enterprise, to develop and test your applications."
There is no Visual Studio Code mentioned. I do not get this.
(My initial concern was to evaluate if it is legal to use the combination in a commercial application without purchasing a license from Microsoft for Visual Studio.)