See the Microsoft blog https://blogs.msdn.microsoft.com/io...de-extension-for-arduino-is-now-open-sourced/ Be aware this is not Visual Studio but Visual Studio Code. It is also running on Linux!
Here some more info for the Arduino IDE haters https://buildazure.com/2017/08/01/programming-arduino-with-visual-studio-code/