NetBeans IDE can be downloaded from here. Just make sure you download the C/C++ version (or if you already use NetBeans, install the C/C++ development plugins).
Integration process consists of these steps:
- Open system Terminal and install PlatformIO Core
- Create new folder for your project and change directory (
cd) to it
- Generate a project using PIO Core Project Generator (
platformio init --ide)
- Import project in IDE.
platformio init --ide netbeans --board <ID> # For example, generate project for Arduino UNO platformio init --ide netbeans --board uno
- Open this project via
Menu: File > Open Project...
- Add new files to
*.c, *.cpp, *.ino, etc.) via right-click on
srcfolder in the “Projects” pane
- Build project using
Menu: Run > Build Project
- Upload firmware using
Menu: Run > Run Project
The libraries which are added, installed or used in the project after generating process wont be reflected in IDE. To fix it you need to reinitialize project using platformio init (repeat it).