Arduino Code Highlighting, Auto-complete & Call-tip Help in Notepad ++

I am currently working on an external plug-in but for now this Portable version will give you auto completion and function hints for standard Arduino code... I'm working on adding the other libs but it is time also consuming.

Updated 0.1.2 21/06/13

  • Improved Function Help

Updated 0.1.1 19/06/13
-Include NppExec for "Arduino Run" command
-Moved to .zip from .7z

Usage

  1. Open the Arduino IDE & Select your board from Tools > Board & File > Preference > Use External Editor

  2. Open the Notepad++.exe and load your main.ino file, or make a new one.

3. For a new file save as filename.ino then autocomplete and highlighting will start to work

  1. Press F6 in N++ and edit the "Arduino Run" command to point to your arduino.exe file & save

  2. Edit in Notepad++ then hit save, then F6 > Arduino Run > Enter, to load the IDE

  3. Press CTRL + U to compile & upload, or CTRL + R to compile

Comments and Suggestions Welcome

Download



Updated - Reserved For Future Use

Since this forum and Arduino are for beginners, my suggestion would be to write up a full tutorial on how to use your app. Also since your telling people to set the IDE to external editor, you might want to make NPP start the IDE and compile.

thanks for you input ... ill update the post... i need to look at setting npp to open the IDE and compile but this depends on where the user puts the .exe easier for me to just explain that you open the ide and open the file you want and hit compile... the npp is just there for help writing the code... i will also add descriptions of each function to the call tips

True. NPP can run the IDE and compile upon opening the IDE. The end user will have to input where the IDE exe is. There is a post in this forum somewhere about how to make NPP run the IDE exe.. I will see if I can find it.

Here it is.. Using Arduino IDE with Notepad++, my approach - Libraries - Arduino Forum

took a slightly different approach, using nppexec to simply open the IDE at the correct path... makes life easier but leave , compile/compile&upload options.

This is how it works in ArduinoDroid: