Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-18-2004, 11:47 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2004
Posts: 21
Rep:
|
does vim have an option for code completion?
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.
|
|
|
|
07-18-2004, 12:00 PM
|
#2
|
|
Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018
Rep:
|
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.
Last edited by wapcaplet; 07-18-2004 at 12:02 PM.
|
|
|
|
07-18-2004, 04:04 PM
|
#3
|
|
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,513
Rep: 
|
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.
gargamel
|
|
|
|
07-18-2004, 08:20 PM
|
#4
|
|
Member
Registered: Oct 2003
Posts: 58
Rep:
|
If you don't mind using Wine/VMWare, take a look at insenvim.sf.net (Intellisense for Vim). It is quite amazing.
Regards,
zakaluka.
|
|
|
|
07-20-2004, 07:05 AM
|
#5
|
|
LQ Newbie
Registered: Feb 2004
Posts: 21
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:27 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|