Visual Micro 2021.106.0 for VS 2017 - 2019 (Visual Studio IDE for Arduino)
Visual Micro is a free fully compatible Arduino programming plugin for Microsoft Visual Studio and Atmel Studio. Visual Studio and Atmel Studio are also available for free. The 'Pro' version is also free for education in public funded or not-for-profit organizations.
Visual Micro uses the configuration of the Arduino IDE. That means that if your code works in the Arduino IDE then it should automatically work in Visual Micro (without additional configuration). There are also configuration features that surpass the Arduino IDE for advanced users.