Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cscope]

Cscope allows more powerful examination of C code than c-tags. Vim has builtin support for using the cscope utility as a tags source.

0
votes
0answers
28 views

Cscope in Vim disconnects after Virtualbox “Save the machine state”

I come across a minor problem as below: I use Vim with Cscope plugin in Debian in Virtualbox, and everything is OK; while if I hibernate my virtual Debian by closing the window and clicking Save the ...
1
vote
0answers
252 views

cscope database loading issue with gvim

I generally use vim + cscope on Linux, and it works great. I have recently started using Cygwin on Windows 7, and I have been trying to replicate my development environment, with gvim and cscope. My ...
2
votes
0answers
232 views

How to configure cscope to select the BEST definition

On large projects, there might be many definitions over many different files and folders for a given symbol. Usually the one you want is the one that is unique to the local area you are working in. ...
1
vote
0answers
219 views

Why the result file of cscope found in quickfix window can't be showed in file explorer?

When I configured cscope in vim, I have installed some plugins such as Minibufexplorer, but I found that when I use cs find s, the result could be showed in the quickfix, and none of the option file ...
1
vote
1answer
637 views

Using cscope to search for patterns with spaces

I have the following problem. Consider this line: uint8_t status = 0x00; Now if I want to search for the occurence for the status, I will get LOADS of references (nearly every module uses some sort ...
0
votes
0answers
15 views

Searching for method definitions with cscope and ctags (or anything else) [duplicate]

Is there a way to search for method definition with some Vim plugin? Suppose there's a method with rather generic name, something like User user; cout << user.get_name() << endl; Is ...
4
votes
0answers
2k views

Using GNU GLOBAL and gtags-cscope in vim

Now I am learning how to use GNU GLOBAL in vim. I have installed gtags.vim. I have gtags the kernel source directory. The .vimrc includes the following lines: set cscopetag set csprg=gtags-cscope ...
7
votes
2answers
2k views

GNU global and vim

Has anyone used GNU global with vim? I'm navigating through a large C++ code base and have some trouble figuring out how to use it. I want to use its gtags-cscope functionality but I can't figure out ...
2
votes
1answer
240 views

Keeping cscope db updated

I work on a large project with many contributors and everyday I usually have to regenerate to keep this up to date and that is very time consuming. Do any of you have any unique solutions to help ...
6
votes
2answers
813 views

Bidirectional tag stack movement with cscope in vim

When using ctags, one can move back through the tag stack by using [count]CTRL-T or :[count]pop, and forward using :[count]tag However, when using cscope instead of ctags and setting 'cscopetag', ...