Text editor with autocomplete for C/C++ and userdefined libraries
I am searching now for a while for a replacement for Qt-Creater for non Qt programming work. Unfortunatly I really got used to the great auto-complete function of it, which I so far did not find in any other leightweight open source editor. (Qt-Creater does not only enable auto-completion of keywords, but shows all possible functions, member vars, defines, ... in a key-up key-down selectable menulist)
So far I tried Editra, Redcar, gedit, scribes, codelite, geany, SciTE. Most of them just got a very simple开发者_开发问答 version of code completion, which won't show me the arguments of a function, but just put the rest of the word into it (most of the time the first match of a list of possible items cvm::r* could be cvm::rmatrix but also cvm::rvector). I am neither the emacs nor vim "patriot". Eclipse would fit, except for it being a total overkill (for me, at least atm).
So my question: Is there a text editor which supports Code-highlighting and code-completion (in a smart manner)? (Preferably under GPLv2/GPLv3/LGPL/MIT/...)
Edit: target is Linux (exclusivly)
regards
Use Notepad++, http://notepad-plus-plus.org/ free!! It can understand and highlight all languages, MATLAB, Python, C++, C, etc... choose your language from the "Language" pulldown menu. :)
You could give Visual Studio Code a try. It's cross-platform an has lots of Extensions available. Maybe there are sufficient ones for your needs.
I recommend Eclipse. It does highlighting and code completion. On the download page choose "Eclipse IDE for C/C++ Developers."
I personally prefer Visual Studio to Eclipse/CDT for C++ work. C++ is an impossible language to parse and I feel VC++ does a better job than any other editor.
精彩评论