[ Using Notepad++ instead of the Arduino IDE ]
I wrote this in 2015 for the classic Arduino 1.x IDE on Windows, so newer versions of both tools may not match the menus here.
[ Overview ]
'\v/`
(o 0) m0o.
(_) /
Last edit: June 27 2015 This is a tutorial on configuring Notepad++ for working with Arduinos, including syntax highlighting as well as function completion and parameter suggestions. As you may know the Arduino IDE sucks, but is required for compiling and uploading. Using this guide, you will be able to write code using Notepad++ and send the code to the IDE once you are ready to upload to the Arduino. If you do not already have Notepad++ installed, you can download and install it from here: https://notepad-plus-plus.org/
[ Notepad++ & Arduino Setup ]
1. From the Notepad++ window, select Run->Run or hit F5.
2. Type in the following, then select Save..., saving it as
Arduino Launcher:
"C:\Program Files (x86)\Arduino\arduino.exe" "$(FULL_CURRENT_PATH)"
3. From the Notepad++ window, select Run->Modify Shortcut/Delete
Command..., select the Run commands tab and edit
Arduino Launcher, then select the Modify button.
4. Assign a hot key to the command. I used Ctrl+Alt+F5.
5. For syntax highlighting, select Settings->Style Configurator...,
select C++ from the list box. Under User ext. add in
ino, pde and then select the Save & Close button.
Now when you have an ino or pde file loaded in Notepad++, clicking the
hot-key Ctrl+Alt+F5 sends the code to the Arduino IDE for compiling
and uploading to the Arduino, and the C++ syntax highlighting will be
used.
[ Notepad++ Plugins ]
Narduino is a User Defined Language for N++ which provides full auto-complete and call-tip hints for the Arduino language. 1. Download the Narduino plugin from SourceForge. 2. From the Notepad++ window, select Language->Define your language... then select the import button. 3. Select the file Arduino_Language_0.2.0.xml from the extracted files. 4. From the extracted files, copy the API folder into the Notepad++\plugins folder. 5. From the Notepad++ window, select Settings->Preferences then select the auto-completion option from the list box and enable function completion and function parameters hint.
