LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem of using vim + cscope + ctags + taglist (https://www.linuxquestions.org/questions/linux-software-2/problem-of-using-vim-cscope-ctags-taglist-731852/)

neversetsun 06-10-2009 01:36 AM

problem of using vim + cscope + ctags + taglist
 
Hi,

In vim, when using cs find, if there are more than one match, vim doesn't show the selection screen for picking a match I want to go.

Is there any configuration fixing this?

Thanks!

KotDemon 10-21-2009 04:17 AM

I had seen this problem some time back. Don't remember when. In fact I'm looking out for the answer now.

Does anyone here know the tweak to address this one?

i.e: VIM doesn't show options (multiple file names) when a token is define in more than one source file.
tags files does have multiple entries, I can see them.
Am I forgetting some configuration here?

Thanks

KotDemon 10-21-2009 04:53 AM

@Neversetsun

Configure VIM to use cscope using --enable-cscope option

configure example:
./configure --prefix=/usr --enable-cscope

If you installing from an RPM, no need to bother its enabled there.

naveen_bhatia 06-06-2011 12:38 AM

@neversetsun In my case I seem to have the VIM support already enabled in my vim installation.

$ vim --version | grep cscope
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic

But I have this issue as well - for ctags it shows the selection menu in case their are multiple results. When I do a cscope query - cs find s/g <symbol>, it just displays the "line (1 of 15): <<global>> <symbol>;" but doesn't show the selection menu. Any inputs are appreciated.

Regards,
Naveen


All times are GMT -5. The time now is 06:37 PM.