Cscope works perfectly for me with gvim 7.2 on Linux. However, I know
that the Vim-cscope interface on Windows is "different". A few caveats
though:
- the cscope.out database must be built separately (by invoking cscope
yourself, either at the command-line or via a :!cscope -b <something>
command in Vim) before you can ":cs add" it.
- The Win32 version of cscope works with Vim, but not the Dos32 DJGPP
version.
- And, of course, you need +cscope compiled-in to use it (i.e., ":echo
has('cscope')" must return a nonzero value, usually 1).
See:
:help cscope-howtouse
:help cscope-limitations
Best regards,
Tony.
--
If you live in a country run by committee, be on the committee.
-- Graham Summer
Well, either replace Program Files by PROGRA~1 in the option, or modify
your PATH so that the directory containing cscope.exe is included, and
set back 'csprg' to its default.
Best regards,
Tony.
--
How many seconds are there in a year? If I tell you there are
3.155 x 10^7, you won't even try to remember it. On the other hand,
who could forget that, to within half a percent, pi seconds is a
nanocentury.
-- Tom Duff, Bell Labs
I thought the OP had done either that or
let csprg='C:\Program Files\Vim\vimfiles\cscope.exe'
etc., and that it didn't work when trying to execute the 'csprg' setting
as an external prog. If you define it with no spaces in it, you won't
have all the problems I've seen recently on vim_use and/or vim_dev when
trying to invoke a program with a space in it, e.g., Vim would try to
execute
C:\Program Files\Vim\vimfiles\cscope.exe <something>
and Windows would try to execute the program "C:\Program.exe" or
"C:\Program.bat" with the parameters "Files\Vim\vimfiles\cscope.exe" and
"<something>". If you define 8.3 paths (with no spaces in them), or even
replace just the space-containing path component(s) with its/their 8.3
equivalent(s), you don't run into this kind of problems.
Best regards,
Tony.
--
Any stone in your boot always migrates against the pressure gradient to
exactly the point of most pressure.
-- Milt Barber
I don't know. OTOH replacing Program Files by PROGRA~1 will work
correctly regardless of backslash-escaping, quoting, or whatever.
Best regards,
Tony.
--
When I was a boy I was told that anybody could become President. Now
I'm beginning to believe it.
-- Clarence Darrow