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
0 answers

unwanted vim cscope search autocompletion

I'm using cscope in vim to find files, symbols & call in my codebase and it'c incredibly helpful. However, I have realized the following: Sometimes "suddenly" (choice of word is for lack of better understanding of origin of effect) the cscope query…
stdcerr
  • 13,725
  • 25
  • 71
  • 128
0
votes
1 answer

how can i use cscope to find task_struct at linux kernel

i'm studying about os especially linux kernel i'll tell my situation. i downloaded linux kernel at kernel.org and get some tools like ctags, cscope and add some plugin at vimrc and i think, i compiled kernel too. there are linux-header.deb and…
jan
  • 1
  • 1
0
votes
1 answer

vim: change pwd while working with cscope

I'm currently working on project using vim+cscope. Sometimes, to make some code-exploring tasks easier I use :cd command to navigate to a specific folder withing the project. But then, if i want to issue some cscope command such as Ctrl-] or :cscope…
user3848844
  • 509
  • 6
  • 20
0
votes
1 answer

how to jump between cscope search result in current split

How can I jump to the next search cscope result in vim and open it in the currently active split? If I open :cw, the selected result will always open in the top-right split, which is not what I'm looking for.
stdcerr
  • 13,725
  • 25
  • 71
  • 128
0
votes
1 answer

cscope connection interfering between different vim sessions

I am not sure if this question has already been asked, but I tried my best to search for a solution. This is the problem I am facing: I am using both ctags and cscope for browsing c++ code. I want to use ctags listed tags inside vim and cscope…
0
votes
2 answers

How to open files through vim editor in cscope?

I want to open a .c file , that I found using cscope, in vim editor. Normally it opens in vi editor. I have made and edited vimrc file using the command - vim ~/.vimrc The following are the configuration that I have put into it. 1 syntax enable…
0
votes
1 answer

jumping to symbols using ctags within vim

I'm using ctags, cscope & vim and whenever I am on a symbol and hit Ctrl+], I get presented a choice, which file I want to jump to, which is fine only that the choice looks like: # pri kind tag file 1 F f …
stdcerr
  • 13,725
  • 25
  • 71
  • 128
0
votes
0 answers

Why does control + space move the cursor one word forward in MacVim 8.0?

(Note: I don't see anything in the possible duplicate (Certain key mappings not working in MacVim) that explains why control + space behaves like w on my MacVim.) I see that when I press control+space, it behaves as if I pressed w, i.e. the cursor…
Lone Learner
  • 18,088
  • 20
  • 102
  • 200
0
votes
1 answer

Gvim and cscope conflict over Ctrl-T

I use cscope with vim and it works great Ctrl+] for going to a definition) and Ctrl+T to pop out of the tag stack. When I tried to use it with gvim, Ctrl+T opens a new tab. So I created a .gvimrc file under $HOME, and nmap
knight
  • 33
  • 6
0
votes
1 answer

cscope shortcuts not showing all results of search

I am using shortcuts of cscope in vim editor as per http://cscope.sourceforge.net/cscope_vim_tutorial.html Shortcuts are not showing all results of the search but it is directly moving to one of the results. At the end it goes to a specific result…
Mayank
  • 2,150
  • 1
  • 15
  • 13
0
votes
2 answers

strange cscope command line limitation

Cscope has eleven search input fields in interactive mode. But when I try to use it in line-oriented output mode and specify Find all symbol assignments: field using -10 switch it does not work. Any ideas? Thanks.
jackhab
  • 17,128
  • 37
  • 99
  • 136
0
votes
2 answers

How to escape special characters in cscope "Find this egrep pattern"

How does one escape special characters in the cscope "Find this egrep pattern" ? For instance I want to find everywhere in a huge codebase where I have the statement print("\n[..... I need to find every line where a print format…
Andrew Ward
  • 171
  • 2
  • 13
0
votes
1 answer

Can't generate cscope.out file

I am using cscope on a project which locates in author/trunk/ . Under "author" directory cscope -R worked well and generated cscope.out. However when using same commmand on a subdirectory like author/trunk/../dhcp, no cscope .out was generated…
nathan
  • 754
  • 1
  • 10
  • 24
0
votes
1 answer

cygwin_exception::open_stackdumpfile: Dumping stack trace to cscope.exe.stackdump

I'm issuing Cscope command using cmd in Winform.Sometimes it return successfully and some times gives(Most of the times) cygwin_exception::open_stackdumpfile: Dumping stack trace to cscope.exe.stackdump I'm not able to identify the issue. Code of C#…
Naeem Khan
  • 31
  • 7
0
votes
1 answer

Adding g- to cscopequickfix breaks tag stack jumps

I want cs find g results also to quickfix window. So I added g- to cscopequickfix. But when I do this, I can't jump back in tag stack because it says the tag stack is empty.
ronakg
  • 4,038
  • 21
  • 46