Author Topic: C:B is very slow to open file  (Read 3974 times)

Offline Kaijun

  • Multiple posting newcomer
  • *
  • Posts: 25
C:B is very slow to open file
« on: May 06, 2013, 03:26:13 pm »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: C:B is very slow to open file
« Reply #1 on: May 06, 2013, 04:13:43 pm »
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!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: C:B is very slow to open file
« Reply #2 on: May 06, 2013, 05:34:33 pm »
Disable 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ