Hello everyone!
I'm looking for a free (open source preferred) source code editor. Ideally it would be as light-weight as Notepad++, gedit, kate, mousepad, you see the pattern. However, the most important thing I'm looking for in this editor is flexible, dynamic, intelligent autocomplete (for c/c++).
To be fair, Notepad++ has autocomplete, but it is hardly an intelligent implementation. It simply gives me a predefined list of all standard C++ variables from the standard library. Not very useful or timesaving.
If you're going to recommend Geany, Anjunta, Eclipse, or the like, please don't. These are full featured IDEs with more features than I know what to do with.
To know the kind of autocomplete I'm looking for, you need to have used Netbeans for C++. Eclipse and Code::Blocks have good autocomplete, much better than Notepad++, but they still pale in comparison with Netbeans. In Netbeans, I can hit ctrl+space anywhere at any time and get a suggestion box filled with intelligent useful results. If I'm in a function, it would give me the local variables, global variables, and other functions in the same scope. If the function is a method of a class, it would give me the member data of that class and other functions of the same class. It would also give me functions of a parent class even if this class doesn't override them (and let me know this in the suggestion box).
With functions, Netbeans is helpful also. It will tell me in the suggestion box what the function returns and what variables it takes.
An amazing thing Netbeans does with autocomplete is work properly with templates. Even when I write my own templated class and create an instance with some obscure type I defined in another header, Netbeans autocomplete suggestions will list all the functions with the correct types.
So you can see I really love Netbeaans autocomplete. All I ask is to have a simple text editor with that one feature implemented equally well.
If you know of a program that does this, or can suggest something else that is as light weight as Notepad++ and as helpful as Netbeans autocomplete, then please do so.