
We'll focus on using Microsoft's free, open-source VS Code editor in this tutorial, but a lot of the concepts should translate to other IDE's like Eclipse, Netbeans, or anything else you may prefer.
Once you take the time to learn these tools they make programming in C/C++ (or any language, really) so much more efficient. This tool allows you to run "make", "grep", or any of your favorite terminal commands without ever swapping windows.
#Visual studio code for mac tutorial windows
Integrated Terminal - Whether you use bash or the Windows CMD, an integrated terminal can save you loads of time. Refactoring - Need to overhaul a function's naming scheme? Or convert a common block of code into a function that can be more widely-used throughout your application? Sounds like a refactoring job! A modern IDE can help with that. Version control integration - Whether you're using git or SVN, many modern IDE's provide source-control integration that can show, line-by-line, the changes you've made since your last commit. Auto-Complete - This feature can, of course, help complete long constant names, but it can also provide insight into the parameters that a function may expect. Code navigation - Whether it's find-by-reference (instantly navigating to the definition of the function you're using), search-by-symbol (quick navigation to function or symbol definitions within a file), or a quick link to a compilation error, code navigation is critical to managing large code bases. The Arduino IDE lacks a number of "professional" code-assistance features, like:
VS Code used to edit an Arduino sketch file while viewing a library's.