Code::Blocks
July 29, 2010, 05:53:47 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Code::Blocks Logo Elections closed! And the winner is... otaco!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1] 2
  Send this topic  |  Print  
Author Topic: Please add new plugins for Cscope, thanks!  (Read 1828 times)
Loaden
Regular
***
Posts: 464



« 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
Administrator
Lives here!
*****
Posts: 4593



WWW
« Reply #1 on: January 06, 2010, 10:05:56 am »

Cccc and CppCheck plug-in is really great!
Proposal to increase Cscope plug-ins:http://cscope.sourceforge.net/
Thank you, CB development team!
Please don't cross-post!

Besides: What do you mean with "increase"???
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Loaden
Regular
***
Posts: 464



« Reply #2 on: January 06, 2010, 10:28:10 am »

Cccc and CppCheck plug-in is really great!
Proposal to increase Cscope plug-ins:http://cscope.sourceforge.net/
Thank you, CB development team!
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
Lives here!
****
Posts: 1484


Interests on OpenCV and Robotics


WWW
« 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
Regular
***
Posts: 464



« 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
Regular
***
Posts: 433



« 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
Lives here!
****
Posts: 1484


Interests on OpenCV and Robotics


WWW
« Reply #6 on: January 06, 2010, 02:24:22 pm »

sorry
it is http://www.cbforge.com/
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
Regular
***
Posts: 464



« 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
Regular
***
Posts: 464



« 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
Regular
***
Posts: 464



« 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
Regular
***
Posts: 464



« 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
Code:
while(m_pProcess->ReadProcessOutput());
just after
Code:
if ( !m_pProcess )
        return;
in OnCscopeReturned(...) in CscopePlugin.cpp
Logged

Loaden
Regular
***
Posts: 464



« 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
Code:
while(m_pProcess->ReadProcessOutput());
just after
Code:
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
Global Moderator
Lives here!
*****
Posts: 3883


« 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
Pages: [1] 2
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!