Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I quite like eclipse's ability to provide context support, refactoring, and also syntax check. Was wondering if there are plugins that could make vim more eclipse like.

share|improve this question
What particular features are you interested in? Do you have some languages in mind? ... syntax check for example, for python - check out pyflakes... – Rook Nov 29 '11 at 1:06
Its called EMACS ;) – hugomg Nov 29 '11 at 1:20
like I said, context support, refactoring, and on the go syntax check. C, Java, Python, Ruby, PHP, HTML, Javascript... – chutsu Nov 29 '11 at 1:24
@chutsu - Uuhm ... I'm afraid you'll have to be a bit more explicit than that. "Refactoring", for example, is not a feature per se. Nor is "coding". Also, "context support"? What is context support in HTML for example? – Rook Nov 29 '11 at 1:50
Did you browse the plugins at, btw? Saw anything you like? – Rook Nov 29 '11 at 1:50

I'm not sure turning Vim into an IDE is a good or even realistic idea but you should google around for "vim as IDE": I've seen a lot of blogposts targeting PHP or Python or C++… they all come down to installing quite a lot of plugins. Since you want IDE-like support for many languages you will need to install many many plugins, most of them found on

  • I don't know what you mean by "context support". Do you want to display the documentation for the word under the cursor or is it something different?

  • I don't know of a refactoring plugin that does everything. There are a few on but they seem to be limited to a couple of languages. If your needs are limited to changing variable names Vim has all you need and more built-in. Even things like "local variable to parameter" can be done easily with macros.

  • There is a very nice syntax checking plugin called Syntastic that supports most of the languages in your list but not Java IIRC.

share|improve this answer

Regarding refactoring, I've started a generic refactoring plugin.

It's mainly aimed at C++, but it should also be possible to tweak it to support other languages. So far, it supports: Extract Function, Extract Variable, Extract Type, Extract Getter & Extract Setter.

share|improve this answer
Thank you Luc, I'll give it a try. – romainl Nov 29 '11 at 10:32
Don't hesitate to leave me comments, new requirements, or even to patch the code for your language(s). – Luc Hermitte Nov 29 '11 at 10:47
Hé hé, let's start with this: could you put it on – romainl Nov 29 '11 at 12:49
I've stopped putting things up there because of the dependencies, and my wish to never release undocumented things in vimball/on Unfortunately, the refactoring plugin depends on two completely undocumented library-plugins (lh-dev and lh-tags) which require an important documentation effort. – Luc Hermitte Nov 29 '11 at 14:06
I understand your concerns. – romainl Nov 29 '11 at 14:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.