Author Topic: C::B 13.12 Can't work with big project which have more than 100 files.  (Read 36090 times)

Offline tyysoft

  • Multiple posting newcomer
  • *
  • Posts: 10
My enviroment:
Release 13.12 rev 9501 (2013/12/25 19:25:45) gcc 4.7.1 Windows/unicode - 32 bit
Windows 7 64bit.

Problem:
I want to manage the wxFormBuilder project which I've download from sourceforge.net, and I create a new empty project then added all files to that project.
When I open one cpp file from C::B project tree, the file is opened normally, but when I try to edit it, the main GUI is frozen, the title bar shows "No response".

Some one who can help me?

Additional,
It's work normally with little project.

Thank you very much!

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #1 on: February 24, 2014, 03:19:04 pm »
Turn off the Code Completion CC Plugin; does the problem go away?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline tyysoft

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #2 on: February 25, 2014, 02:39:52 pm »
Turn off the Code Completion CC Plugin; does the problem go away?

Tim S.


The problem is still exists, I think maybe there are something running in the background and can not be switch off.

Any one, who can have a try? I'm not sure this problem is only occurred on my platform.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #3 on: February 25, 2014, 03:03:50 pm »
Attach the 7zipped CB Project file (cbp); I will see if I can dup the issue.

Edit: Please include the version number of wxFormBuilder you are trying to build? 2/3/4 etc.

Tim S.
« Last Edit: February 25, 2014, 04:32:12 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #4 on: February 25, 2014, 03:18:22 pm »
How did you turn off CC ?
In "Settings -> Editor -> Codecompletion" or in "Plugins -> Manage plugins" ?

Offline tyysoft

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #5 on: February 26, 2014, 03:21:26 am »
The version of wxFormBuilder is 3.x, the latest revision. And I create a empty project by CB, then save it to the src/rad path, then add all files in this directory, and try to edit some files from CB, but it don't work.
I've tried to switch off the auto completion function, I go to settings>editor...>code completion,  chose disable code completion and disable symbols browser.
But it no efficiency.
I'll attach the project file and try to create project again tonight.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #6 on: February 26, 2014, 06:11:48 am »
Try to disable the whole plugin in "Plugins -> Manage ..."  and post if the issue goes away.

Offline tyysoft

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #7 on: February 26, 2014, 02:56:42 pm »
It's work now, while I have disabled the whole code completion plugin use the Manage Plugins menu.

So it's clear now, the code completion maybe have some issue need to be fixed.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #8 on: February 26, 2014, 03:53:01 pm »
My enviroment:
Release 13.12 rev 9501 (2013/12/25 19:25:45) gcc 4.7.1 Windows/unicode - 32 bit
Windows 7 64bit.

Problem:
...
Would you mind to check the latest nightly version of C::B from Nightly builds, it is currently rev9660.

There are some bug fixes related to CodeCompletion plugin after rev9501, especially some hang issues are fixed.

Thanks.
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.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #9 on: February 26, 2014, 04:07:51 pm »
Could NOT duplicate the problem using CB 13.12 and wxFormBuilder\3.x\trunk\src\rad.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline tyysoft

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #10 on: February 27, 2014, 03:37:48 pm »
The latest nightly build can edit the files of the project normally, but the code completion function can not work, it's always show "too many result"
even if I have set the "maximum allowed code-completion matches" to 64, and only select level 1 and level 2 of the "Keyword sets to additionally include".

The simply work in my wxFormBuilder project is:
Code
wxSize sz = m_rightSplitter->GetClientSize(); 
sz.  //it will shows too many result

There is a mistake I should to fill, I'm so sorry.

the wxFormBuilder project should contains all the files in the 3.x/src directory. not the 3.x/src/rad.

1, create a empty project use C::B.
2, use "Add files recursively" and choose the directory 3.x/src

then open anyone of the files in the project.

if the the problem can't replay, who can give me a email address(use inner message from this furum), and I'll send all my project file in a zip file.


Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #11 on: February 27, 2014, 03:52:26 pm »
The latest nightly build can edit the files of the project normally, but the code completion function can not work, it's always show "too many result"
even if I have set the "maximum allowed code-completion matches" to 64, and only select level 1 and level 2 of the "Keyword sets to additionally include".

The simply work in my wxFormBuilder project is:
Code
wxSize sz = m_rightSplitter->GetClientSize(); 
sz.  //it will shows too many result


In my CodeCompletion setting dialog, "maximum allowed code-completion matches" is 16460, which is much bigger than yours.
Can you try to set a big value?
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.

Offline tyysoft

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #12 on: February 28, 2014, 07:42:04 am »
Actually, I just set from default value to this little value,  it refuse to pompt the suggestion  list.
I'm trying to upload my whole project to some FTP sever and put the download link here.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #13 on: February 28, 2014, 07:43:56 am »
Actually, I just set from default value to this little value,  it refuse to pompt the suggestion  list.
I'm trying to upload my whole project to some FTP sever and put the download link here.
OK, then I will try your test project.  :) Thanks.
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.

Offline tyysoft

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: C::B 13.12 Can't work with big project which have more than 100 files.
« Reply #14 on: February 28, 2014, 02:40:37 pm »