Page 1 of 1
CSCOPE doesnt respect active project
Posted: Wed Sep 10, 2008 11:11 am
by hbr_in
Hi,
I have 2-3 projects added to CL. Few files from 2 projects have same code(Function, function names etc). when using Cscope features, it works for entire workspace. Is this intended.
TIA
Regards
Gururaja
Re: CSCOPE doesnt respect active project
Posted: Wed Sep 10, 2008 11:31 am
by eranif
hbr_in wrote:I have 2-3 projects added to CL. Few files from 2 projects have same code(Function, function names etc). when using Cscope features, it works for entire workspace. Is this intended.
Yes.
If you want the ability to run cscope on single project / entire workspace => please submit a feature request
Eran
Re: CSCOPE doesnt respect active project
Posted: Wed Sep 10, 2008 11:58 am
by hbr_in
eranif wrote:Yes.
If you want the ability to run cscope on single project / entire workspace => please submit a feature request
Eran
i dont have must info about cscope. if its scope is throught the workspace & if thats the standard, then i dont want to make a blind/waste request. I just want to stick to standards
Regards
Gururaja
Re: CSCOPE doesnt respect active project
Posted: Wed Sep 10, 2008 12:03 pm
by eranif
hbr_in wrote:i dont have must info about cscope. if its scope is throught the workspace & if thats the standard, then i dont want to make a blind/waste request. I just want to stick to standards
It is perfectly legitimate request to ask cscope to respect the active project/entire workspace. I meant was I said: It is possible to implement, but I will do it only upon feature request submission
Some background:
cscope is an independent tool which scan files for various things: C symbols, functions calling function etc.
By default it accepts a directory as input and scan all files from this point on. It can accept a defined list of files to perform the search - this is how codelite uses cscope: it generates a workspace file list and passes it to cscope as input - so cscope will scan only these files.
Your FR is quite simple: generate the list for the project only, no big deal
Eran
Re: CSCOPE doesnt respect active project
Posted: Wed Sep 10, 2008 12:29 pm
by hbr_in
eranif wrote:
Your FR is quite simple: generate the list for the project only, no big deal
Eran
Ok
Just did it.
http://sourceforge.net/tracker/index.ph ... tid=979963
regards
Gururaja