On Wed, Dec 17, 2008 at 06:39:44AM -0800, alex wrote:
> I think that the power of shell programming (particularly with the use
> of the perl language) is by far superior of the power of modern GUI
> applications.
... This heavily depends on
a) the language you want to program in
b) your shell (perl), vim knowledge..

Eg if you only want to use subversion and you do a lot of heavy
refactorings in Java I'd recommend Eclipse for that all. Why? Most of
the work as already been done and if you want to rename a method you can
use Eclipse Wizards for that which will be superior to vim search
repalce methods.

But if you have a slow PC and if you don't have to browse dozens of
existing packages vim can be faster.

Don't forgett that there is a vi plugin for eclipse. A lot of features
are missing but at least basic things such as multiple registers, the
most useful movements commands do work. (Text objects don't yet :-( )

To be honest I couldn't even imagine doing real Java programming in vim
because I don't konw the libraries and language support in Eclipse is
perfect. (I mean where else can you just press c-s-o to fix imports
etc?)

So unless you don't tell the mailinglist what you really want to do it's
hard to tell which way is better or faster. vim does startup a lot
faster.

Even for C/C++ code within Eclipse I've had good experiences just for
browsing code. Some important features just did work without setting
anyhing up (I still would not know how to make the project compile
within eclipse..)

I haven't used netbeans yet.

Things I do miss in Eclipse:
* g; can't be used multiple times, there is only c-q
* some registers such as paste deleted nth text
* text-objects or the like
* macro programmming
* different tab settings for different projects within a workspace (!)
* Lot's trivial mappings such as <m-=> <space>=<space> (Eclipse maybe
  can do auto formatting.. )
* Jump to next search location by keys.

In vim I do miss
* language support (on the fly syntax checking (bufwritepost auto
  commands do pretty well as replacement for PHP, ruby, perl, ..)
* really language aware completion. (Eg the PHP completion is pretty
  good in Eclipse, the default $VIMRUNTIME PHP completion is partially
  based on tags and shows too many matches to be really useful (IMHO))
  Or such simple thing as show order of arguments an which you're
  editing.. I always forgot about this and looking it up takes time even
  with a good tags setup..
  Or I can't imagine browsing class hirachies the way you can do in
  eclipse. Another example is debuggin support for some languages:
  for PHP I code in vim but I do use Eclipse for debugging. (I know
  there is a python script which adds php debugging support.. But Eclipse
  is much better here!)

So I'd say: Learn both and pick the best tool for a particular task.
There has also been some projects to integrate vim in Eclipse (see
sourceforge) or to use Eclipse as server to provide code completion
features to vim (eclim -> http://eclim.sourceforge.net/ see also related
projects). However be aware that running vim within Eclipse will be a
pain because you have to learn two ways to get an Eclipse feature: The
default one and the way to access it from within vim..

If you want to extend vim to support more features I'd like to invite
you having a look at my tovl lib (github) which does already provide
some small features for vim.

Sincerly
Marc Weber

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to