Trying To Get Vim Intellisense Working. Help?!


Setup: I’m running Windows 7 x64 with gVim installed. I have Visual Studio 2008 and 2010 installed, and am trying to get vim intellisense up and running. This plugin provides intellisense features for languages such as C#, C++, Java, and much more. Unfortunately, I haven’t been able to get it working yet. Here’s what I have done to try, so far:

The installation wizard seemed nice. It let me select the plugins i wanted and my Vim directory.

image

I did get an error while installing this, saying there was a problem installing the C# intellisense. Opening the “cserrors.log” file in the install folder (as the error message told me to do) revealed this message:

“Regasm is not in path. Error in installaing C# Intellisense plugin. Add regasm in path and then run reg.bat in the current directory!”

That’s an easy fix – just open a Visual Studio Command Prompt and you’ll have the tool available:

image

then you can run the “reg.bat” file from the “intellisense” installation folder:

image

After installing, I was getting strange errors from Vim, when pressing ctl-space to bring up the intellisense window:

error detected while processing function IN_ShowVISDialog. Library call failed for StartVISDialog()

A bit of digging around on the vim intellisense website brought me to the C# FAQ which says:

You need Microsof.NET version v1.1.4322 for intellisense to work.

I downloaded of .NET 1.1 and SP1 later and it said there are incompatibilities with IIS on Win7 x64. I installed anyway, but to make sure nothing was messaged up, I re-ran the register IIS command for .net 4

C:WindowsMicrosoft.NETFrameworkv4.0.30319>aspnet_regiis –i

After that… I’m still getting the same error messages about not being able to call the StartVISDialog() method, as shown in the previous screen shot. Has anyone been able to get Vim Intellisense working with a setup like mine? Do I need a previous version of visual studio (like 2005?) for this to work? or ??? Any help is greatly appreciated.

Rhino Mocks: Recursion And Multiple Return Values From Stubs