Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Another completion oddity
ollydbg:
--- Quote ---If I right-click on "bbbbb" and choose "Find declaration", I receive the following warning: "Not found: bbbbb".
If I do the same on "tttt" or "Tstruct", it works ok though. (just giving you all information I have).
--- End quote ---
This is by design. :D
Because all the local variables will be skipped by the parser. So, bbbbb is not in the TokenSearchTree.
blueshake:
ollydbg's explanation is right.
the variable defined in function body can not work with "find declaration",so...
daniloz:
First of all, regarding oBFusCATed response:
--- Quote from: oBFusCATed on August 17, 2009, 10:42:28 am ---daniloz: C++ is hard to parse even when the code is correct, parsing malformed code is massive(close to impossible) task
--- End quote ---
Ok, I understand the complexity of parsing c++ code and really appreciate the work you guys (you know how you are) have done so far. It was just an user wish... :) After all, I cannot be blamed for it (or can I? ;) )
About local variables, isn't that something that can be done since C::B already know about them. Should it be too difficult to link them with the declaration? (of course I miss the bigger picture here, but again, just an user wish...)
Thank you all for the replies...
blueshake:
the local variable is stored in a temptree.and the the function body is parsed in real time.
the temptree changed every time,if my understand is right.it is not possible to implement
the functin in current version.
Navigation
[0] Message Index
[*] Previous page
Go to full version