Fixed some stuff I never noticed but I saw in the forums:
Undo/redo: now move the caret to the correct position
Scrolling with the mouse is nearly impossible to control in the official IDE (just try to select 2 pages on a 4 pages code with the mouse), now there is delays (with some 'acceleration')
Now, just add some code folding like code blocks does...
And eclipse and visual micro and many others
Best regards
Jantje
I don't quite undestand the utility of the folding code blocks anyway. I prefer just intellisense. I mean, it makes sense for me in Visual Studio in the designer section for example, or some pinvoke definitions, but in arduino? just make couple of tabs, one with the setup, other with the loop.
I will think about intellisense first if one day I want to start to make major changes in the IDE.
eried:
I don't quite understand the utility of the folding code blocks anyway. I prefer just intellisense.
I prefer intellisense to code folding to. I use intellisense on a daily basis and I only activated code folding in C++ last week. But it are 2 different things and sometimes folding is handy. For instance to get a better understanding of a function that has grown to large and needs refactoring. This example can not be worked around with multiple tabs as you propose.
For me; a professional IDE should support both. I say professional IDE because there are very good reasons of existing for non-professional IDE's. I believe that the Arduino IDE is a great example of non-professional IDE with great value.
In many discussion about bugs and new features in the Arduino area the discussion is about "Can we add this added value without adding (to much) complexity for the user?". These are very valid discussion for the Arduino IDE that explicitly does not position itself as a professional IDE. In a professional IDE the discussions should be "How to best add this added value"
begin of rant
I do not advice everyone to use a professional IDE. You should use a tool that fits your need. My advice is to start with the Arduino IDE "as is". When you start to feel the limitations; look at the alternatives. If you have no professional software development background and do not wish to go there: use the arduino IDE with mods or go to an external editor.
If you have a professional software development background or wish to go there: go for a professional IDE that has good support for the arduino environment.
End of rant
From a practical point of view:I have never implemented code folding nor intellisense. I think however that folding was available before intellisense so my guess would be that folding is easier to implement than intellisense.
Best regards
Jantje
PS Note that in eclipse you also have the outline view which resembles the code in folded format which takes away quite a bit of the added value of code folding. (I guess visual studio has something similar)
I don't think if an ide is "Pro" or not is the right discussion.
The questions, for me, are :-
How simple and well integrated is the Arduino plugin?
Is it really easy to setup?
Stable to use?
Does it provide the same features as the Arduino?
Does it provide double click drill down into compiler errors?
Support multiple pde/ino files?
In short does it do the things the Arduino IDE does and does it do them in the same simple way?
This is what the Visual Studio plugin is designed to do/be. It reduces project development time enormously.
Im not a "Pro" just someone who tinkers with stuff until Im happy that it does what I want.
Ive tried Elcipse with the plugin as its a fairly uncomplicated interface and it has a built-in serial monitor, but I couldnt get the indexing thing to work, so its gives me errors on a simple serial sketch
Visual Studio maybe be ok for Pros, but the interface looks too complicated for me and Im reluctant to install anymore MS "bloatware" than I really need to.
I really like the look of codeblocks, as its very similar to something I`ve used before and it has the code folding function.
I might give that a try to see how it goes (when I have some time), no built-in serial monitor would not be a deal breaker.
Having separate tabs for each part of the sketch I`m working on seems an odd way of doing things, but thats due to my limited experience of these things.
For now though, I`ll stick with the Enhanced IDE as it just works!
Is there a way of increasing the Undo buffer though?
I`ve just checked by typing random junk into the edit window
This what I typed
{
// This code will loops consecutively
abababababababababababababababababababab
cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdc
dededededededededededededededededededede
efefefefefefefefefefefefefefefefefefefefefefefefefefef
ghghghghghghghghghghghghghghghghghghghghg
hihihihihihihihihihihihihihihihihihihihihihihihihihihihihih
}
This is how far it when back with cntl Z
{
// This code will loops consecutively
abababababababababababababababababababab
cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdc
dededededededededededededededededededede
efefefefefefefefefefefefefefefefefefefefefefefefefefef
g
}
I can make it bigger easily but maybe combining the edits it is a better thing, I am not so sure if the UndoManager should record every single keystroke as an independent action
OK, but what limit do you think is enough? Also what is your opinion about combining changes or keeping individual keystrokes?
I barely noticed the limitations on the undo in all this years, I just undo something small and keep editing, never something big or too away from the place I am working on, so I need comments from users.
Visual Studio maybe be ok for Pros, but the interface looks too complicated for me and Im reluctant to install anymore MS "bloatware" than I really need to.
Yeah, it probably didn't help my using the ArduPlane drone example, that's the most massive Arduino project on the planet (not my work, can't take any credit)
Anyway Visual Studio is actually a one click install and "just works", same as the Arduino Ide.
But as I said in my email to you, the enhanced arduino ide is well worth a look. Even if it hasn't got the code navigation and helper tools, it is really great to see Arduino Ide development moving forward at a reasonable speed for a change.