|
Loaden
|
 |
« on: January 06, 2010, 09:48:30 am » |
|
Cccc and CppCheck plug-in is really great! Please add new plugins for Cscope, thanks!: http://cscope.sourceforge.net/Thank you, CB development team!
|
|
|
|
« Last Edit: January 07, 2010, 10:09:20 am by Loaden »
|
Logged
|
Arch & XP -|- GCC & VC -|- Code::Blocks SVN Latest------------------------------------------ Index for my patches
|
|
|
|
MortenMacFly
|
 |
« Reply #1 on: January 06, 2010, 10:05:56 am » |
|
Please don't cross-post! Besides: What do you mean with "increase"???
|
|
|
|
|
Logged
|
|
|
|
|
Loaden
|
 |
« Reply #2 on: January 06, 2010, 10:28:10 am » |
|
Please don't cross-post! Besides: What do you mean with "increase"??? Sorry, this post is to start here, for fear of plug-in development team can not see, but they were SVN6023 posts a month Replies Riga. English is not good, the English are using the google translation. What I mean is: It is recommended to add a new plug-ins.
|
|
|
|
|
Logged
|
Arch & XP -|- GCC & VC -|- Code::Blocks SVN Latest------------------------------------------ Index for my patches
|
|
|
|
ollydbg
|
 |
« Reply #3 on: January 06, 2010, 11:52:29 am » |
|
I found there is a Chinese site named "cbforce" http://www.cbforge.com/ which has donea some effort on doing that. you can search it on Google, I can't enter here, because l use my mobile now.
|
|
|
|
« Last Edit: January 06, 2010, 02:38:38 pm by ollydbg »
|
Logged
|
If some piece of memory should be reused, turn them to variables (or const variables). If some piece of operations should be reused, turn them to functions. If they happened together, then turn them to classes.
|
|
|
|
Loaden
|
 |
« Reply #4 on: January 06, 2010, 01:40:41 pm » |
|
I found there is a Chinese site named "cbforce" which has donea some effort on doing that. you can search it on Google, I can't enter here, because l use my mobile now.
Thanks! But i can not find this site, perhaps it has closed.
|
|
|
|
|
Logged
|
Arch & XP -|- GCC & VC -|- Code::Blocks SVN Latest------------------------------------------ Index for my patches
|
|
|
|
blueshake
|
 |
« Reply #5 on: January 06, 2010, 01:46:16 pm » |
|
I found there is a Chinese site named "cbforce" which has donea some effort on doing that. you can search it on Google, I can't enter here, because l use my mobile now.
Thanks! But i can not find this site, perhaps it has closed. I can not enter today.
|
|
|
|
|
Logged
|
Keep low and hear the sadness of little dog. I fall in love with a girl,but I don't dare to tell her.What should I do?
|
|
|
|
ollydbg
|
 |
« Reply #6 on: January 06, 2010, 02:24:22 pm » |
|
|
|
|
|
|
Logged
|
If some piece of memory should be reused, turn them to variables (or const variables). If some piece of operations should be reused, turn them to functions. If they happened together, then turn them to classes.
|
|
|
|
Loaden
|
 |
« Reply #7 on: January 06, 2010, 03:52:17 pm » |
|
Thanks! But this is only the use of a CB analysis. I would suggest that CB team Cccc and CppCheck based on the production of a new plug-in, used to support Cscope. My levels are not sufficient to make a plug-in level.
|
|
|
|
|
Logged
|
Arch & XP -|- GCC & VC -|- Code::Blocks SVN Latest------------------------------------------ Index for my patches
|
|
|
danselmi
Advanced newcomer

Posts: 64
|
 |
« Reply #8 on: January 06, 2010, 08:23:34 pm » |
|
only roughly tested!
|
|
|
|
|
Logged
|
|
|
|
|
Loaden
|
 |
« Reply #9 on: January 07, 2010, 02:48:36 am » |
|
only roughly tested!
Oh! Good!! Thank you very much! I will testting and report it.
|
|
|
|
|
Logged
|
Arch & XP -|- GCC & VC -|- Code::Blocks SVN Latest------------------------------------------ Index for my patches
|
|
|
|
Loaden
|
 |
« Reply #10 on: January 07, 2010, 09:51:44 am » |
|
only roughly tested!
Oh! Good!! Thank you very much! I will testting and report it. I have compiled Cscope plug-in, found that the plug-in does not work. After clicking the menu command line, works where the directory does generate cscope.out, but Cscope.dll obviously can not generate the results reported to the CB.
|
|
|
|
|
Logged
|
Arch & XP -|- GCC & VC -|- Code::Blocks SVN Latest------------------------------------------ Index for my patches
|
|
|
|
Loaden
|
 |
« Reply #11 on: January 07, 2010, 09:58:46 am » |
|
I read over the code, find this plug-in should be no analysis of the data to realize cscope.out. As I am bad programming level, I can not complete the rest of this plug-in. Why is this plug-in has not submitted to the CB's contrib in?
|
|
|
|
|
Logged
|
Arch & XP -|- GCC & VC -|- Code::Blocks SVN Latest------------------------------------------ Index for my patches
|
|
|
danselmi
Advanced newcomer

Posts: 64
|
 |
« Reply #12 on: January 07, 2010, 10:10:32 am » |
|
First: cscope.exe must be in your path (I used cscope binary from http://code.google.com/p/cscope-win32/). Second: try to add the line while(m_pProcess->ReadProcessOutput()); just after if ( !m_pProcess ) return; in OnCscopeReturned(...) in CscopePlugin.cpp
|
|
|
|
|
Logged
|
|
|
|
|
Loaden
|
 |
« Reply #13 on: January 07, 2010, 10:39:53 am » |
|
First: cscope.exe must be in your path (I used cscope binary from http://code.google.com/p/cscope-win32/). Second: try to add the line while(m_pProcess->ReadProcessOutput()); just after if ( !m_pProcess ) return; in OnCscopeReturned(...) in CscopePlugin.cpp When i do it, now, Cscope.dll work fine. Thanks!!
|
|
|
|
|
Logged
|
Arch & XP -|- GCC & VC -|- Code::Blocks SVN Latest------------------------------------------ Index for my patches
|
|
|
|
killerbot
|
 |
« Reply #14 on: June 12, 2010, 03:48:57 pm » |
|
fyi : we are currently preparing to add it to the contrib plug-ins. So all of your feedback will be very welcome once it is in.
ONce it is there : linux user : take a good look at the cscope tab in the messages pane. For me the header of the list things (like we have for compiler warnings/erros) seemed to have an issue. It was all tracked to the complete left and as such not even visible what every column says (File Line Scope Text). After manually putting things in place, it was ok.
|
|
|
|
|
Logged
|
|
|
|
|