NetBeans is a Java-based integrated development environment (IDE). It provides out-of-the-box code analyzers and editors for working with the latest Java 8 technologies–Java SE 8, Java SE Embedded 8, and Java ME Embedded 8. The IDE also has a range of new tools for HTML5/JavaScript, in particular for Node.js, KnockoutJS, and AngularJS; enhancements that further improve its support for Maven and Java EE with PrimeFaces; and improvements to PHP and C/C++ support.
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 (CLI)
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.
Choose board ID
using platformio boards or Embedded Boards Explorer
command and generate project via platformio init --ide
command:
platformio init --ide netbeans --board <ID>
# For example, generate project for Arduino UNO
platformio init --ide netbeans --board uno
Then:
Open this project via Menu: File > Open Project...
Add new files to src
directory (*.c, *.cpp, *.ino, etc.
) via
right-click on src
folder in the “Projects” pane
Build project using Menu: Run > Build Project
Upload firmware using Menu: Run > Run Project
Warning
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).
Feb 22, 2016 - Grzegorz Hołdys - How to Integrate PlatformIO with Netbeans
See the full list with Articles about us.