Alternative/better IDE

Hi, any suggestions for alternative/better IDE's for Arduino ?

Thanks in advance.

There are no better IDEs for Arduino. The one provided is perfect. Just ask the Arduino team. That seems to be the standard response to every enhancement request.

On the other hand, if you described what YOU mean by a better IDE, perhaps some more useful suggestions could be proposed.

Nothing is perfect. And the current IDE is far from perfect. I just wanted to use a better editor (and program the board from that) and not that awful standard IDE, but probably there's no hope... Thanks.

but probably there's no hope...

There's plenty of hope. Some folks use Eclipse and I've been using Netbeans for a while but really I find all those big IDEs are a lot of bloatware, so just recently, in an effort to get back to basics I moved to using Notepad++ for an editor and running a makefile in a dos window.

Notepad++ is a great editor and using a makefile gives you total control over the build process.

Just like the "old" days.


Rob

Rob,

can you please send me the makefile ?

I like Notepad++ very much, it's my main editor and I think that your arrangement is much better than the standard IDE (I tried, but I don't like it at all).

Thanks in advance,
John

IN the file menu choose preferences and select external editor :slight_smile:

Makefile attached

Note the following.

This works in my environment and I use it to program two different 328-based boards. It's not necessarily robust and I may have broken something in the original file that I don't use.

I just tried it on my Mega and avrdude didn't sync (feel free to fix this :))

I haven't used make for about 15 years so my changes may be a little non kosher.

I think it could be cleaned up more, there's a lot of stuff I don't need.


Rob

makefile (8.9 KB)

In order of my preference

AVR-Project-IDE

Eclipse, Netbeans

Anything using Scintilla

I just tried it on my Mega and avrdude didn't sync (feel free to fix this )

I've fixed this, change the part between double ##### lines to this

##########################################################
##########################################################
# Select processor line here
MCU 			= atmega328p
#MCU 			= atmega2560

ifeq ($(MCU),atmega2560)
UPLOAD_RATE 	= 115200
AVRDUDE_PROGRAMMER = stk500v2
COM 			= 39
endif

ifeq ($(MCU),atmega328p)
UPLOAD_RATE 	= 57600
AVRDUDE_PROGRAMMER = stk500v1
COM 			= 33
endif

ARDUINO_VERSION	= 21
PROJECT_NAME 	= quubmon_client
PROJECT_DIR 	= d:/work/quubmon/client
ARDUINO_DIR 	= c:/progra~1/arduino/arduino-00$(ARDUINO_VERSION)
ARDUINO_CORE 	= $(ARDUINO_DIR)/hardware/arduino/cores/arduino
ARDUINO_AVR 	=    $(ARDUINO_DIR)/hardware/tools/avr/avr/include/avr
ARDUINO_LIB 	= $(ARDUINO_DIR)/libraries
AVRDUDE_PATH 	= $(ARDUINO_DIR)/hardware/tools/avr/bin
AVRDUDECONFIG_PATH = $(ARDUINO_DIR)/hardware/tools/avr/etc
AVR_TOOLS_PATH 	= c:/progra~1/atmel/bin
AVR_INC_PATH 	= c:/progra~1/atmel/avr/include/avr
PORT 			= //./COM$(COM)
F_CPU 			= 16000000

##########################################################
##########################################################

I've got different COMs because I'm working on two different boards at the same time.


Rob

Thanks everyone for your precious suggestions.

can somebody mod the code-blocks for compiling ide out of box.. (its an open source ide)..

I use Linux and prefer Kate :wink:

Hi,
I've been using Arduino for a couple of months now and I really like it but I agree that the IDE is OK but not the best IDE I've used but what do you expect for free!

I've used Notepad++ for a while and I thought I'd give it a try for sketches, WOW it's brilliant.

I found the NPPExec plugin for Notepad++ and, if I understand it correctly, it can run scripts to run external compilers etc.
Has anyone got any experience using this pugin with Notepad++ to drive the make process etc.

Or some other options: -

  • Can we request the Authors of the Arduino IDE to make a plugin for Notepad to give us a button to compile the Sketch?
  • Add some of the features found in notepad++ to the Arduino IDE, like auto indent, highlight matching words, auto grouping by braces.

Just some of my thoughts.

The IDE offers an "external editor" mode. This will disable the internal editor and the IDE will only upload. Do not forget to save before doing so.
The alternate approach is to use a makefile / sconstruct and let Notepad++ call it.

I've been using Notepad++ for some time, it's a great editor. So far I've found it easy to ALT-TAB to a DOS window and run make from there.

Does NPPexec make this any easier/better? As usual with sourceforge stuff I can't find any documentation.


Rob

OK I've answered my own question. I downloaded the plugin and after some dicking around got it to work and I like it.

So for those who may follow here's what I've done.

Obviously download the plugin as per instructions

In the editor press F6 and enter this

npp_save
cd  $(CURRENT_DIRECTORY)
make

Into the text box. Note that I like to auto save before the compile (npp_save) and that it seems you have to do the CD so make executes in the correct folder. Also I often work on 2 projects at the same time but in different folders so this is important to me.

This seems to work well, I swap to a different source file in a different tab (and folder), hit CTRL-F6 and it picks up the local makefile. So far so good.

Now I'd like it to highlight the errors and make them clickable. I believe you do this in the "highlight" dialogue (SHFT-F6), I enter

%ABSFILE%:%LINE%: error:*

which is supposed to highlight errors and even make them clickable to go to the error line. So far I haven't got this to work.

Also the console takes up a lot of the editor window but you can just grab it and move out of the editor so it's a separate window, good if you have a large screen.


Rob

Graynomad:
I've been using Notepad++ for some time, it's a great editor. So far I've found it easy to ALT-TAB to a DOS window and run make from there.

Does NPPexec make this any easier/better? As usual with sourceforge stuff I can't find any documentation.


Rob

I don't know, I'm just investigating the make file and NPPexec, I' new to this whole process.

Hi There,if you are having uncomfortabilities while working with arduino ide,I would recommend to use picto blox(search through internet).Its basically made for kids who can understand well.its like in the form of scratch 3 and it is very easier to work with (just recommending)

Just be aware that this thread is 9 years old. I think that @202020192019 just broke the record.