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).
Note that the version of NetBeans IDE provided by some Linux package repositories may be a Flatpak version, which are known to have issues with accessing the PlatformIO CLI installed due to the container nature of this technology. It is recommended that you use the native version of the NetBeans IDE via the above link.
Integration process consists of these steps:
Open system Terminal and install PlatformIO Core (CLI)
Create new folder for your project and change directory (
cd) to it
Generate a project using PlatformIO Core Project Generator (
pio project init --ide)
Import project in IDE.
pio project init --ide netbeans --board <ID> # For example, generate project for Arduino UNO pio project 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 won’t be reflected in IDE. To fix it you need to reinitialize project using pio project init (repeat it).
Feb 22, 2016 - Grzegorz Hołdys - How to Integrate PlatformIO with Netbeans
See the full list with Articles about us.