Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
CodeCompletion gets confused with "dot"?
MortenMacFly:
--- Quote from: rickg22 on January 25, 2006, 11:37:27 pm ---The reason for this is that local variables are NOT identified in the main parsing. Functions and class methods are just scanned until the respective '}' is found.
--- End quote ---
Sorry Rick, I don't understand. Please have a look at my example attached to the previous message. In the function "main": If I write "SVD." (and wait) nothing happens. Hence If I write "c." the CodeCompletion window pops up showing me the methods of MyClass. This is the same with "d.". So the only difference is that I define the class "MyClass" as "SVD" in the first case and as "c" in the second case. The second case works with CodeCompletion, the first one not...
If I got you right that it shouldn't work in both cases, right? Maybe CodeCompletion can even more than it was supposed to do?
...I guess I'm missing something here...
Morten.
rickg22:
erm, what i meant to say, is that there are two parse phases:
phase "a" is done when the project is opened, and doesn't scan anything inside functions. I know this part very well.
phase "b" is done everytime you use codecompletion, and i don't know how this works.
Game_Ender:
The phase b part seems to be the less stable part right now.
Navigation
[0] Message Index
[*] Previous page
Go to full version