Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: mariocup on July 03, 2007, 03:42:32 pm
-
Hi Codeblocks team,
editors like kate use different mechanism for code/command completion. One method is to add a dictionary file, that contains predefined names. I think the following two implementiations could be useful for other users.
1. Support for including multiple abbreviations files in codeblocks.
2. Support of dictionary files that contain e.g. the name of special function registers (ARM, AVR etc.) and works with command completion.
Bye,
Mario
-
Hey, what a great idea! :D
Please post it on Berlios (Berlios is *THE* official site for feature requests).
-
I think it would be better if CC could generate dictionary files for each *.h, *.c and etc. by itself.
Then it could load this dictionary file instead of reparsing source file.
Of course it should make new dictionary file if source file is newer than dictionary.
This should speed up the CC dramatically.
-
pauliusz: Before, there was something called "Cache", which worked more or less like you say, but the I/O overhead of reading the cache actually made it SLOWER than parsing the files. Anyway, the slowdown is not very noticeable right now, except for the class browser building part, and I'm already working on that (in my "code playground" :P ).