LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-10-2009, 01:36 AM   #1
neversetsun
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Rep: Reputation: 0
Post 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!
 
Old 10-21-2009, 04:17 AM   #2
KotDemon
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
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
 
Old 10-21-2009, 04:53 AM   #3
KotDemon
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
@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.
 
Old 06-06-2011, 12:38 AM   #4
naveen_bhatia
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
@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
 
  


Reply

Tags
cscope, vim


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring vim to use ctags manish.ym Linux - Desktop 3 01-03-2010 04:31 AM
Navigating Source with VIM+Ctags jhwilliams Linux - Software 1 01-27-2009 09:00 PM
Ctags setup in vim jrdioko Programming 7 12-20-2005 05:14 PM
vim plugin - taglist doesn't work correctly milod Programming 0 07-19-2003 08:13 AM


All times are GMT -5. The time now is 04:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration