Re: Intellisense/Omni-complete for C/C++

2007-03-26 Thread Zarko Coklin
I too had problems with omnicomplete in Vim. Built-in
functionality was only good for function
auto-completions but not for data members. However,
all problems were gone after I started using following
script
(http://www.vim.org/scripts/script.php?script_id=1520).
Read carefuly and follow instructions in doc
directory! One additional note: If you are working
with code written in C I suggest you rename
after/ftplugin/cpp.vim to after/ftplugin/c.vim

Good luck!


 

TV dinner still cooling? 
Check out Tonight's Picks on Yahoo! TV.
http://tv.yahoo.com/


Re: Intellisense/Omni-complete for C/C++

2007-03-25 Thread A.J.Mechelynck

Some user wrote:

Hello,

I'm sorry for posting another message in such a short span of time, but the
thing is that this is unrelated to the other question.

I have Windows XP and gvim 7.0 on it. I like it so far, but the
omni-complete functionality doesn't appeal that much to me compared to
intellisense of Visual Studio. Thing is that I have to type C-X C-N (even at
that I get pattern not found for most cases) after my function. I want to
open omni-complete's menu to show up whenever I press open-paren ( after a
function's name or whenever I type . or - after a structure/structure
pointer... just like VS intellisense. I think that's the *only* feature Vim
is missing at the moment (at least for me). :)

I also tried the intellisense plug-in for Vim that I found on this website:

http://insenvim.sourceforge.net/

Thing is that I have activeperl 5.8 installed on my system but somehow it
doesn't detect it. When I do:

:echo $PATH

it shows c:\Perl\bin\ in there. Also, when I go to command prompt in Windows
XP and type in perl, it executes perl.exe. However, when I start up vim for
a cpp or c file, it says perl.exe not found in path. Anyone knows if the
path in vim is different from $PATH? Or is there something I'm missing?

Thanks,


What does

:echo $PATH

reply when done within Vim? If it doesn't include C:\Perl\bin, use Control 
Panel = System = Advanced = Environment variables to check what your PATH 
is set to for programs not started from a Dos Box.


Best regards,
Tony.
--
Murray and Esther, a middle-aged Jewish couple, are touring
Chile.  Murray just got a new camera and is constantly snapping
pictures.  One day, without knowing it, he photographs a top-secret
military installation.  In an instant, armed troops surround Murray and
Esther and hustle them off to prison.
They can't prove who they are because they've left their
passports in their hotel room.  For three weeks they're tortured day
and night to get them to name their contacts in the liberation
movement..  Finally they're hauled in front of a military court,
charged with espionage, and sentenced to death.
The next morning they're lined up in front of the wall where
they'll be shot.  The sergeant in charge of the firing squad asks them
if they have any lasts requests.  Esther wants to know if she can call
her daughter in Chicago.  The sergeant says he's sorry, that's not
possible, and turns to Murray.
This is crazy!  Murray shouts.  We're not spies!  And he
spits in the sergeants face.
Murray!  Esther cries.  Please!  Don't make trouble.
-- Arthur Naiman, Every Goy's Guide to Yiddish


Intellisense/Omni-complete for C/C++

2007-03-24 Thread Some user

Hello,

I'm sorry for posting another message in such a short span of time, but the
thing is that this is unrelated to the other question.

I have Windows XP and gvim 7.0 on it. I like it so far, but the
omni-complete functionality doesn't appeal that much to me compared to
intellisense of Visual Studio. Thing is that I have to type C-X C-N (even at
that I get pattern not found for most cases) after my function. I want to
open omni-complete's menu to show up whenever I press open-paren ( after a
function's name or whenever I type . or - after a structure/structure
pointer... just like VS intellisense. I think that's the *only* feature Vim
is missing at the moment (at least for me). :)

I also tried the intellisense plug-in for Vim that I found on this website:

http://insenvim.sourceforge.net/

Thing is that I have activeperl 5.8 installed on my system but somehow it
doesn't detect it. When I do:

:echo $PATH

it shows c:\Perl\bin\ in there. Also, when I go to command prompt in Windows
XP and type in perl, it executes perl.exe. However, when I start up vim for
a cpp or c file, it says perl.exe not found in path. Anyone knows if the
path in vim is different from $PATH? Or is there something I'm missing?

Thanks,
-- 
View this message in context: 
http://www.nabble.com/Intellisense-Omni-complete-for-C-C%2B%2B-tf3461141.html#a9656907
Sent from the Vim - General mailing list archive at Nabble.com.