User forums > Using Code::Blocks

Forrtran - Add Files Recursively is Slow

<< < (2/5) > >>

BlueHazzard:
Also if you want a really quick fix, create the Project file by yourself. It is a simple xml file... Open it with a text editor and check the content. It is quite verbose and pretty easy to create.

Of course it would be better to fix codeblocks, and we will do it if we can reproduce it.
Are this some special files?

FEA:
I removed all plugins from the plugin folder except compiler.dll and scriptedwizard.dll. Then I created a project and added the source files. It read them in within seconds, so it appears that one of the plugins is bogging it down.

EDIT: I isolated the problem plugin to just FortranProject.dll. With that plugin disabled, it reads in within seconds. This is a Fortran project, but I am not sure how necessary FortranProject.dll is to the project. I will have to better understand the value of this plugin.

BlueHazzard:
Yes, it is the fortran symbol browser.
You can deactivate it in Settings->Editor->Fortran Project->FSymbols browser->Enable symbols browser

BlueHazzard:
After importing and saving the project you can close the project and codeblocks, re start codeblocks and re enable it and then load the project and it should work fine.

oBFusCATed:
The problem happens because the symbol browser is updated on every added file in FortranProject::OnProjectFileAdded.
This is wrong and it should be change to happen in response to a cbEVT_PROJECT_END_ADD_FILES event.
This is something which should be adjusted in the fortran plugin.
The fortran plugin is an external project we just ship for convenience.
So you either report this directly to the project here http://cbfortran.sourceforge.net/ or wait for darmar to see this topic and fix the plugin. :)

p.s. There is a smaller problem which makes this take some time, but after I fix it it will happen almost instantaneous. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version