Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I developed stuff under Windows I always had some IDE that did some thinking for me,
Someone told me that in Linux a lot gets written with VIM, I can imagine why, its a very efficient editor. So I gave it a try. I got syntax highlighting working. But I really miss some of the standard features that most IDE's got, such as code completion. Is there a way to configure VIM to do that?
I know that KDevelop and the other IDE's for Linux have it, but I'm really getting to like VIM.
Yes, it can do it. Run vim and type ":help completion" - it ought to give you a good starting point. Hitting CTRL-n after typing the first part of the word (variable name, etc.) will try to match it to other words in the file. A google search for "vim code completion" turns up quite a lot too.
Vim is my favourite, too.
Should the code completion features not suffice to do for you, however, you might give Jedit a try. It's a Java application --- you can use it on Windows and Linux alike. Jedit can bei tailored and extended by numerous plug-ins for lots of programming languages and general programming tasks.
thanks everyone, I've got it set now to complete keywords when i press tab, and the line is not empty .
I'm doing this with Vim's own completion and a little scripting magic. however, its annoying sometimes when it completes a word that I didn't mean to put there.
would there be a way that it could output the word it thinks i'm writing in the right corner or so?
Haven't found a script that does that.
Insenvim sounds great btw. to bad it's not ported yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.