Excerpts from Srikanth Venkateswaran's message of Sun Nov 22 10:33:16 +0100 2009: > > Hi, > I code Java in Vim using Vjde > (http://www.vim.org/scripts/script.php?script_id=1213). But I am not > able to use many of the features because the documentation is entirely > in Chinese, with a brief tutorial in English. > 1) While it recognizes standard packages ( java.* ) for code > completion, it does not recognize my custom packages. I am following > the ctags instructions specified in the script homepage exactly as far > as I can understand them. > 2) The auto-import feature works for standard packages but not mine. > > Questions: > 1) Is there any other tool for coding Java in Vim other than Vjde? > 2) Why am I using vim to code Java instead of Eclipse? Well, I have to > code java over a VPN halfway across the world and the bandwidth makes > a full fledged Eclipse IDE very slow. My question is, if there was a > full fledged java plugin for vim with as many features as Eclipse, > wouldn't it be even slower, since it would have to do the parsing and > matching in a language-generic way? > > Thanks, > Srikanth Yes, of course vim script is slower than Java. There is one plugin on vim.org which implements a Java parser. However it wasn't updated within the last year. And I think there are many reasons for it. It is insane to duplicate the work which was done on Eclipse. Eclim probably won't solve the speed issues for you.
Maybe you can look at your problem in a different way? Maybe you can implement kind of file caching so that accessing files is faster ? Maybe you can start using a version control system so that you can keep a local copy of the source code. Why do you have to use files which are stored on a server having a slow connection to you? What is your real problem? Be aware that Netbeans has very good vi keybindings. Eclipse also has a vi-plugin. Maybe try only reading .java files from the remote location while linking Eclipse stuff to a local disk. Using ntfs you can create different kinds of links etc. Also be aware that you can't debug Java code as comfortable as in Elipse or netbeans. I'd also join #eclipse and ask how others work with a setup like yours. There are alternative solutions: Eg log into the server and work using a terminal. I don't know which works best for you. You have to try. Good luck. Marc Weber --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
