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
CSCOPE doesnt respect active project
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: CSCOPE doesnt respect active project
Yes.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.
If you want the ability to run cscope on single project / entire workspace => please submit a feature request
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: CSCOPE doesnt respect active project
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 standardseranif wrote:Yes.
If you want the ability to run cscope on single project / entire workspace => please submit a feature request
Eran
Regards
Gururaja
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: CSCOPE doesnt respect active project
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 submissionhbr_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
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
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: CSCOPE doesnt respect active project
Okeranif wrote: Your FR is quite simple: generate the list for the project only, no big deal
Eran
Just did it.
http://sourceforge.net/tracker/index.ph ... tid=979963
regards
Gururaja