tags:

views:

4118

answers:

10

I am forced to use VS2008 for the bulk of my projects at work, but whenever the odd text file needs editing I use VIM.

Now I know that there are plugins and whatnot that can make VIM work like an IDE, so I am wondering if anyone actually uses it as an IDE?

EDIT:

For those of you who think you speak for the masses in saying that VIM should not be used as an IDE, please consider that IDE features are the number one feature request on the official feature request list on vim.org.

+7  A: 

You can also go the other way around and use a plugin called viemu. This one gives you vi-mode within the VS IDE, which makes it easier for collegues to co-drive on your system.

xtofl
+1 ViEmu is the best vi plugin for Visual Studio that I've seen
Andy White
There is also a VS plugin that comes with GVIM, but it launches the editor in its own windows and doesn't actually integrate with the VS editor like viemu does.
Nippysaurus
Viemu is just a little less vi-like than GVIM; when I need do large edits, I launch GVIM with an "external command".
xtofl
Note MonoDevelop includes a quite full fledged Vi mode. And it is starting to run on Windows.
Dykam
A: 

I sometimes use Vim as an IDE within Kate when I otherwise would have had several tabs open in Vim, which are hard to change to.

Else, I stick with plain ordinary Vim.

KDE for Windows will allow you to install Kate in Windows.

Alan Haggai Alavi
+1  A: 

I use Vim alone - it has some basic ability to autocomplete via ^X then various options (^P for Keyword, ^O for omnicomplete (good for switching between HTML, CSS, and so on in web files).

It also has the ability to launch commands via :!(compiler or other commands).

Fairly simple, painless integration with basic development with no need for workspaces or similar - and modelines for file settings if desired.

Edit: As far as modules are concerned, there are usually modules to embed relevant scripting languages inside or beside the Vim enviroment - I don't know about similar .NET framework modules, however.

Jon
+2  A: 

Vim has 1st class support for C and C++ as an IDE. You even have a visual debugger with clewn and gdb. Other languages, you will have to do some tweaking and fiddling and the result might not get to what you want. Worth trying for an hour and seeing how it goes. I get the impression that emacs does a better job as ide for more languages.

funk
+4  A: 

I'm not trying to be inflammatory with this response, but I want to save you some headache. This is the same answer I give to all the people that ask similar questions in #vim.

Vim is not an IDE. It's an editor. It was never intended to be an IDE, and any attempts to make it conform to this will only cause you problems. There are some plugins that try to provide an IDE-like feel to Vim, but these are horrible.

I do, on the other hand, recommend some plugins that will help you get some extended functionality from Vim. These might suit your needs.

  • taglist - Great for navigating your code by function/method/class
  • NERDTree - A wonderful filesystem navigation plugin
Jeremy Cantrell
Microsoft Windows is not an image editor but it provides interfaces which allow you to write image editing applications. Much the same way that VIM (or VI) provide scripting interfaces which allow you to change the way the application behaves. I know what you mean though ... its not scriptable to the extent that it could make a viable IDE alternative, and thats ok :) I mean as long as it can group files into a project type structure I guess it could be called an IDE :)
Nippysaurus
taglist+project management+debugger, are the IDE of the old days. Eclipse simply is a bundled Java implementation of ctags+vim+plugins. I really don't see the difference.
Elazar Leibovich
+4  A: 

Taglist is a wonderful plugin--don't leave home without it.

You can also set up tab completion.

Omnicompletion is a great thing if your language is supported.

And VIM tip 1439 has a roundup of IDE-ification tips.

daotoad
+9  A: 

You may want to try this new patch for Vim which allows Vim to be used inside Visual Studio as the editor:

Otherwise, the following vim scripts give vim more of an IDE feel:

  • Tag List - Code navigation by functions
  • Nerd Tree - Filesystem navigation
  • SnipMate - Vim version of TextMate snippets.
  • Auto Close - Automatically adds in closing parenthesis, braces... ect

In addition to those scripts you may want to look at some of the following patches for Vim. I haven't used them so not sure of the quality but most of them look quite promising. You can view all the patches here, the ones that make vim more of an IDE are:

  • Code Check - On-the-fly code checking
  • Clewn - Allows debugging and stepping through the code in Vim using GDB.

With those scripts and patches installed, you should have something in Vim pretty close in features to Visual Studio or Eclipse.

David Terei
ViVim looks very interesting :)
Nippysaurus
Tried snipmate, it works pretty well :-)
Nippysaurus
A: 

You can also check the following:

http://stackoverflow.com/questions/319965/vim-as-visual-studio-ide/867603

Caglar Toklu
A: 

try exVim in http://code.google.com/p/exvim This project make vim as a IDE for multi-language developing.

+3  A: 

If you use Linux, just try Pida. You can embed Vim or Emacs into it. A lot of integrations such as file browser, project structure, and console, make Vim look like Eclipse. IMHO, this is an easy way to use Vim as an IDE.

Surakarn Samkaew
I really like pida.
Ubersoldat