News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

C:B is very slow to open file

Started by Kaijun, May 06, 2013, 03:26:13 PM

Previous topic - Next topic

Kaijun

I want to use C::B (12.11) as code editor in linux. Maybe there are many files in my project, I found it takes a long time to open a file. Sometimes, it takes 99%+ cpu time.

oBFusCATed

Disable Code Completion.
Post an example project or use a debugger/profiler to tell us where in the code the slowness happens.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Quote from: oBFusCATed on May 06, 2013, 04:13:43 PMDisable Code Completion.
In addition you might want to try to cheat with the editor's character encoding detection settings.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]