Setting up Visual Studio Code with ROS
Several IDEs are available in Linux – such as NetBeans (https://netbeans.org), Eclipse (www.eclipse.org), and QtCreator (https://wiki.qt.io/Qt_Creator) – and they are suitable for different programming languages. To build and run ROS programs from IDEs, the ROS environment must be set up. Some IDEs might have a configuration file for that, but running your IDE from your ROS-sourced shell should be the easiest way to avoid any inconsistencies. In this section, we will discuss how to use the Visual Studio Code IDE with ROS. A comprehensive list of other IDEs that can be configured with ROS can be found at http://wiki.ros.org/IDEs.
Visual Studio Code (https://code.visualstudio.com/) is a multi-platform IDE that's available for Linux, Windows, and macOS. It is a powerful source code editor but at the same time, it is very lightweight. It comes with a set of functionalities that support web-based programming languages...