News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

C::B 13.12 Can't work with big project which have more than 100 files.

Started by tyysoft, February 24, 2014, 03:05:59 PM

Previous topic - Next topic

tyysoft

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!

stahta01

Turn off the Code Completion CC Plugin; does the problem go away?

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

tyysoft

Quote from: stahta01 on February 24, 2014, 03:19:04 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.

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

How did you turn off CC ?
In "Settings -> Editor -> Codecompletion" or in "Plugins -> Manage plugins" ?

tyysoft

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.

Jenna

Try to disable the whole plugin in "Plugins -> Manage ..."  and post if the issue goes away.

tyysoft

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.

ollydbg

Quote from: tyysoft on February 24, 2014, 03:05:59 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.

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

tyysoft

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


ollydbg

Quote from: tyysoft 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:
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.

tyysoft

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.

ollydbg

Quote from: tyysoft 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.
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.