Questions tagged [cscope]

Cscope is a code searching application originally written for searching C code bases. Cscope is useful for searching many other code bases as well: C++, Java, Python, etc.

Cscope home page

266 questions
0
votes
3 answers

Can't use cscope correctly under emacs evil-mode

I have the same issue with the guy, the link is below: http://comments.gmane.org/gmane.emacs.vim-emulation/1404 when I try to use xgtags/xcscope with evil I have the following question: xgtags/xcscope would open a new window with all search results…
0
votes
2 answers

Why can't navigate java code in emacs using cscope

I installed cscope 15.7a, and my .emacs setting like: ;;cscope (require 'xcscope) (add-hook 'java-mode-common-hook '(lambda()(require 'xcscope))) I can use cscope when opening C/C++ code files; and there is a cscope menu above the emacs menu bar, …
gladman
  • 1,208
  • 4
  • 19
  • 39
0
votes
2 answers

emacs unable to find cscope database?

I have a very strange problem, which just appeared with the new builds and my cscope command to generate the db didn't change(cscope -b -q -i ). I can see the results with 'cscope -d' on the terminal, so I know the cscope.out is correct. However if…
pinkstone
  • 111
  • 2
  • 10
0
votes
3 answers

Can anyone tell me where to get Vim 7.2 with cscope support?

I wanted to use cscope enabled vim - unfortuantely , the binaries at work are not compiled with cscope support , and when I tried building from src , I'm getting a lot of errors due to proper dev packages not being installed. So , does anyone have…
TCSGrad
  • 11,898
  • 14
  • 49
  • 70
0
votes
1 answer

tselect doesn't work in vim+cscope

I use make cscope in Linux kernel to generate the cscope.out, and in vim I can use ctrl-] to jump among function defines. But if I use :tselect to display all function defines, vim report E433: No tags file E426: tag not found: and also when I use…
Leslie Li
  • 407
  • 7
  • 14
0
votes
1 answer

cscope-index-files always shows "No match"

I've installed cscope and using xcscope.el in emacs. I want to index my files in Emacs with cscope-index-files. But when setting the directory, it always says No match.
goofansu
  • 2,277
  • 3
  • 30
  • 48
0
votes
1 answer

Single user mode in mac

I want to use the mac in single user mode. I want to use ctags and cscope in that mode. Could anyone help me with the setups required for this. Thank you. All i know is how to go to the single user mode so please tell me in a simple and easy to…
khan
  • 1
0
votes
0 answers

how to compile cscope with quickfix

In my .vimrc , I added set cscopequickfix=s-,c-,d-,i-,t-,e-,but when I use cscope command in my vim, the quick window would not appear automatically. I read the help doc from vim about cscope, and it tell me to use…
user1198331
  • 139
  • 2
  • 3
  • 10
0
votes
1 answer

search set of strings using cscope

I have cscope working fine on my project containing multiple files. In eclipse and other IDEs, there is provision for searching a string for example "how are you" in the whole project. Does cscope has the support for this feature ? If so, how to do…
nitin_cherian
  • 6,405
  • 21
  • 76
  • 127
0
votes
0 answers

Getting a list of references using cscope and python

I am writing a Python script to edit a large C project. In this script I am using the subprocess module to call cscope's line oriented interface. This is an example of what I have been doing... func_name = 'main' p = subprocess.Popen(['cscope',…
0
votes
2 answers

Cannot seem to load CCTree database with vim

I am trying to use the CCTree plugin for vim, but when I try to add the following line to my vimrc to autoload the cscope database for CCTree every time vim is opened, I get an error. This is the command copied straight from the CCTree website…
still.Learning
  • 1,185
  • 5
  • 13
  • 18
0
votes
3 answers

Disable cscope autojump

Every time I use cscope, it just auto jumps to the first result even when there are more than one results. I want to get a list of the matched results, so I can select one from it. I have setting nothing for cscope in .vimrc so far. How can I…
FaceBro
  • 787
  • 2
  • 13
  • 29
0
votes
1 answer

loading cscope database in emacs

I want to use cscope in emacs. Due to my directory structure i only want to use files from certain subdirectories in the tree. In the shell i create my cscope.files list (includes a listing of all the source files i want) the i do: cscope -q -R -b…
matze999
  • 431
  • 1
  • 5
  • 18
0
votes
1 answer

How to find this global definition with cscope when there are two functions which had the same name at different file?

I read the code of redis with vim and build the database like this: find . -iname '*.c' -o -iname '*.cpp' -o -iname '*.h' -o -iname '*.hpp' > cscope.files cscope -bq -i cscope.files -f cscope.out and map keys in vim: nmap g :cs find g…
solomon_wzs
  • 1,711
  • 5
  • 16
  • 29
0
votes
1 answer

Live updating cscope style database into vi(m). Why isn't it there yet?

I am curious to know why vi(m) has never gone ahead and integrated cscope style database into it. When it comes to working with Linux Kernel code navigation I find vim + ctags + cscope is a must. And although ctags and vim do work as one cscope…
spitfire88
  • 1,596
  • 3
  • 19
  • 31
1 2 3
17
18