User forums > Help
Autocomplete problem
Barking_Mad:
Needing to save before CC updates is a bit annoying, is there no way that CC can be made to work with the working copy? Is there some specific reason CB cant do this? (i.e. due to scintilla).
ollydbg:
--- Quote from: Barking_Mad on February 26, 2009, 04:36:34 am ---Needing to save before CC updates is a bit annoying, is there no way that CC can be made to work with the working copy? Is there some specific reason CB cant do this? (i.e. due to scintilla).
--- End quote ---
I think it can do it on a working copy. But now, development on CC is freezed. You can read it's source code and add something. By the way, nowadays, I'm reading it's source code and writing the wiki page
see here: http://wiki.codeblocks.org/index.php?title=Code_Completion_Design
MortenMacFly:
--- Quote from: Barking_Mad on February 26, 2009, 04:36:34 am ---is there no way that CC can be made to work with the working copy?
--- End quote ---
No. At least not implemented.
--- Quote from: Barking_Mad on February 26, 2009, 04:36:34 am ---Is there some specific reason CB cant do this? (i.e. due to scintilla).
--- End quote ---
Yes. imagine you are working an a huge file - processing CC at e.g. each fingertip (character you type in) would cost way too much performance. Doing CC after each 10 fingertips (or whatever) is not a good thing to do (imagine you are deleting a line in a file). Doing the same every n (m)secs is no good, too. Because users would still complain the same thing.
I believe triggering CC at Save is a very good thing to do. I mean: You have typed something you are "sure" it's correct - so why no save? And in the end: You still have the undo system as a backup...
Navigation
[0] Message Index
[*] Previous page
Go to full version