cscope Questions

4

Solved

In a rather large code base with a few layers is there a way in vim or from the command line to find all classes that are derived from a base class? grep is an option but can be slow since grep doe...
Gynandromorph asked 4/9, 2014 at 0:39

4

There are some folder that contains space, and as a result, those folders can not be indexed using cscope. Can i ask you for help to solve this,or any suggestion. thanks Julius Thanks for your...
Irascible asked 7/7, 2010 at 16:19

2

Few issues with emacs in term windows. Any help is appreciated. a. I start emacs over ssh with emacs -nw with cscope enabled. After I search for a symbol or a definition, on the cscope buffer when...
Lingam asked 17/5, 2011 at 5:4

5

Solved

I want to generate Full and Partially Call Trees from cscope database of c and c++ projects in Linux. The project is rather large, so it can be not easy to work with the full call tree of project,...
Nassi asked 1/2, 2010 at 17:23

2

I'm using CMake to build my code. CMakeLists.txt contains the list of all the .C or .CPP files and all the include directories. How can I implement CMakeLists.txt so that I can have a make option ...
Whelp asked 2/3, 2013 at 15:10

1

Solved

When I search for a C symbol or global definition using cscope, it displays the file-names and line numbers. I would like to see the full file-paths so that I can jump to my arch specific file. For...
Future asked 18/12, 2012 at 8:4

4

Solved

The IDE feature that I miss the most in emacs and vim are code navigation and find usages. Both of these editor have the following similar features for them: Tags - identifiers from specified fil...
Kahn asked 18/11, 2012 at 13:32

1

I am cross-compiling cscope, but suprised to be failed. However, I succeed to build ctags without error, so why does the cscope build fail? The error message is as follows: `sh cflags "optimize='...
Kaz asked 10/9, 2012 at 4:52

1

Solved

I want to auto load my cscope.out in the subdirectory of my project, so I add this scripts in my .vimrc, which is as follows: set cscopequickfix=s-,c-,d-,i-,t-,e- if has("cscope") set csprg=/usr...
Ferreous asked 3/9, 2012 at 6:55

1

Solved

I want to redirect output from cscope to Vim quickfix window. The glue part is easy enough, but I currently stuck at errorformat. Here's an example from cscope output (cscope -L -1 bar): Format: "...
Frantic asked 13/7, 2011 at 10:52

1

Solved

Vim is my favorite editor, when I open a php or python file in vim, the first command is: set tags=../../../tags or set tags=../../tags I think vim can do this automatically: first search ./tags...
Puleo asked 9/6, 2011 at 3:17

2

Solved

I'm using cscope for a large project with vim, but without the vim mappings (they froze vim for some weird reason). I'm using cscope commands from within vim, and I want to be able to find uses of ...
Cascara asked 31/5, 2011 at 17:0

1

Solved

I currently use the A.vim plugin to swap between header and implementation file. The limitation of this script is that it only works if both are in the same folder. If you have a cscope database ...
Callosity asked 24/2, 2011 at 17:49

2

Pre: I've been working in VIM for like a year already. Lots of great things: combinations, scripts. Whenever I'm editing something in a different editor, I feel sluggish/uncomfortable without VIM's...
Aware asked 22/2, 2011 at 15:34

0

I have C source code which have lots of #ifdef ANSI macro. For example, #ifdef ANSI int test ( int a ) #else int test(a) int a; #endif So If I use cscope+vim with the above source code to navi...
Rikkiriksdag asked 21/2, 2011 at 7:37

1

Solved

The following command works fine: $>cscope -b -R However, the option for inverted index does not work: $>cscope -b -q -k -R Input file specified two times. cscope: cannot create invert...
Yuma asked 28/10, 2010 at 12:2

1

Solved

I've setup emacs 23.1.50.1 with CEDET 1.0 and ECB 2.40 (heavily inspired by Alex Otts setup at http://github.com/alexott/emacs-configs/blob/master/rc/emacs-rc-cedet.el and his gentle introduction t...
Dour asked 20/10, 2010 at 11:44

3

Solved

I usually dig in the c source code with cscope from method to method more than 4-5 level and I have to step between the methods back and forth. How can I see the search history in cscope so I don...
Shashaban asked 10/3, 2010 at 8:32

1

Solved

I know this has been discussed a lot of times but is there any nice how-to for c/c++ intellisense in emacs? I have never been able to set up cedet properly. Right now I am working on a maintenanc...
Hyetal asked 6/4, 2010 at 2:36

2

Solved

What is the standard/best reference card for cscope shortcuts/usage that I can print for quick reference?
Gluck asked 15/2, 2010 at 17:31

1

Solved

I am a big fan of ctags Hence I am wondering if I have cscope, will I benefit more there two programs. Seems like the latter has the same features as ctags, namely, facilitating the finding of symb...
Buster asked 8/9, 2009 at 11:41

4

Solved

I want cscope to open files in MacVim instead of vim, so I'm trying to have the path to MacVim as the Value of the EDITOR environment variable which is used by cscope: $ export EDITOR=/Application...
Saros asked 9/1, 2009 at 11:58

2

Solved

For my day job, I live in Emacs. Utterly. I also have become pretty dependent on CScope to help me find things in the code. Normally, I have 2 windows in a split (C-x 3): alt text http://bitthicke...
Ketcham asked 4/9, 2008 at 13:31

© 2022 - 2024 — McMap. All rights reserved.