FS#1582 - VIM not build with --enable-cscope option
Attached to Project:
Arch Linux
Opened by Casey McGinty (cmcginty) - Tuesday, 05 October 2004, 04:52 GMT
Last edited by Judd Vinet (judd) - Wednesday, 06 October 2004, 18:32 GMT
Opened by Casey McGinty (cmcginty) - Tuesday, 05 October 2004, 04:52 GMT
Last edited by Judd Vinet (judd) - Wednesday, 06 October 2004, 18:32 GMT
|
Details
The Vim package in base does is not built with
--enable-cscope option. Cscope allows for C/C++ tagging
similiar to ctags but adds more enhanced search
capabilities. Cscope is already a package in Arch so I think
Vim should be built to support it.
|
This task depends upon
vim is in current
that's the reason for not using --enable-cscope, right?
Am I missing something?
Once you have CScope support enabled in VIM:
1. cd to your root source directory and run 'cscope -Rb'
2. run vi
3. connect Vi to the CScope database ':cs add cscope.out'
4. open a project file in Vi, put the curser over tag and type '<CTL>-\' (control-backslash together) and then 's'
5. you can also use CScope like the normal tag command command <CTL>-] (control-close brace together) and <CTL>-t (control-t together)
"CTL-\" then s
"CTL-]"
"CTL-t"
"CTL-]"
"CTL-t"
Built vim fine with --enable-scope, generated cscope.out.
":cs add cscope.out" worked without error.
But "CTL-backslash s" does nothing.
http://cscope.sourceforge.net/cscope_vim_tutorial.html
# pacman -U ftp://dragon.archlinux.org/current/os/i686/vim-6.3-4.pkg.tar.gz
I'll commit the new VIM package.