Any editor that does autocompletion in Ubuntu?
Solution 1
Vim has a couple different forms of completion built-in for many programming languages. Good places to start might be ":help 'complete'" and looking up omni-completion.
Solution 2
Editors in Unix can tend to set of language flame wars if one isn't careful. This is not my intention here at all. I started out using vim for code development and at some point shifted to emacs where I've stayed ever since, and that was over a decade ago. I have it configured to do autocompletion of all the languages I use (C/C++, Lisp, Python, Perl). But like any powerful editor it has a learning curve.
But vi/m is no different - I know hard core hackers who have it configured to do the same kinds of things I do. I think what it comes down to on some level is how you are wired - they're both extremely capable, very powerful code editors with more features than most people will ever be able to learn to use.
The problem I've noticed over the years with the IDE environments is that they may have a much shallower learning curve, but there's a reason for it. You have to gain elevation sometime if you want to get somewhere. A really good editor will force you to learn a lot of stuff early on and then get out of your way. The other ones don't force you to learn much (worth knowing) but are forever in your way after that.
Just my two cents.
jkcunningham
Solution 3
Personally, I like NetBeans. It is multi-lingual, C++, Java, PHP to name a few, and what I like most about it, is that NetBeans unlike any other IDE looks inside the header files you have included and auto-completes not only the keywords and local variable names, but also more sophisticated names (for example, I use GTKmm library and NetBeans not only list me all possible completions, but also provides me with a documentation of any function I choose).
From my own research NetBeans is (unfortunately) the only IDE capable of that, so you may want to give it a try.
Solution 4
Gedit provides a word completion plugin although I've not actually used it. Install gedit-plugins and you'll have it.
Related videos on Youtube
Manu
Updated on September 18, 2022Comments
-
Manu over 1 year
Is there any editor/IDE(or a plugin for an existing editor like Vim or GEdit) that does auto-completion of many languages (not just C++)? Aptana does only HTML/CSS/JS and Code::Blocks does only C++ (I might be wrong on this one. If so, please correct me).
In Windows, Notepad++ does a pretty neat job.
-
Manu almost 13 yearsI searched SO initially and found no good answers which are Ubuntu specific.
-
-
Manu almost 13 yearsNetbeans is awesome and is the closest equivalent of Visual Studio in Linux. But it feels rather heavy.
-
Manu almost 13 yearsThanks a ton! Omni-completion along with smart autocompletion using tabs is a lifesaver!
-
Rafał Cieślak almost 13 yearsIt is, when you download it from the repo. Alternatively you can download the newer version from the website, where you can uncheck modules you don't need. For example, I chose ONLY C++, and is much lighter :)
-
Sjlver over 7 yearsIf you're developing C, C++ or Python, YouCompleteMe is an amazing autocompleter for Vim.