Following this method :
https://linuxiac.com/how-to-install-vs-code-on-linux-mint/
I’ve just installed VSCODE on linuxmint.
On windows I can run the compiler on the command line simply typing: cl
Is there a way to do this on linux too ?
Edit: I’ve installed the C/C++ extension, but it seems that microsoft didn’t actually port its compiler to linux, just its IDE. Thus it is using gcc and not cl.
1
VS Code has great support for developing inside a container.
I found this project which allows you to create a container image which will run MSVC 2022 on Wine. You will need a Windows PC to build the image, but you will then be able to run the image on Linux. This method will allow you to run cl
on Linux in your VS Code command line.