IDE code insight -new feature

The code insight feature have many IDEs and it is very useful feature for especially novices.

It would be nice for Arduino IDE to have that feature as well, at least to include list from official and user added libraries, if not complete AVR-GCC functions and classes.

Never heard of it. Got a pointer to a description?

The most important feature of that I pointing is "Code assistance" or "Code completion".

For instance JAVA: https://netbeans.org/kb/73/java/editor-codereference.html

Usual shortcut: Ctrl-Space

For instance: - Typing Serial.p and pressing Ctrl-Space will open popup menu with all Serial.p* available functions (print, println, put...) - Typing Serial. and pressing Ctrl-Space will open popup menu with all Serial

Choosing one of it will complete code inside editor.

Other code insight features I do not recommend.

Ah. "Code completion" has been often requested. But it's pretty difficult.

westfw: Ah. "Code completion" has been often requested. But it's pretty difficult.

Difficult in which way?

Arduino have code parser, have a lexical analyzer, can find function prototypes and can open any source file? I believe nothing else is needed.

BTW, I have done all that in the past for custom designed CPU, now I would need only free time to study instruction set for AVRs and few MCU documentations in order to make my own compiler (at least for 328p and 2560 I'm currently play with)...

Making compiler I would rate pretty complex and difficult, not "Code completion" feature... But it is fine with me if cannot be done.

The Arduino IDE is for the beginners and noobs. When you start wanting things like this you move on to a grown-up IDE like Eclipse and leave this kiddie stuff behind. There are far more issues with Arduino IDE than code completion that annoy a real programmer. But those things are there for this IDE to serve its intended purpose of introducing noobs.

Why Arduino IDE does not have a debug feature as the same as a traditional programming IDE. It would make easier for beginner instead of printing out every value in order to know what are running in the sketch. I believe that the developers who are building this IDE also know that. But why they still have not added such feature.