Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Suggest show function "type" instead of "actual type"

(1/1)

ollydbg:
I found that each token keep two member variables.


--- Code: ---        newToken->m_Type = readType;
        newToken->m_ActualType = actualType;

--- End code ---

For example a function

--- Code: ---const wxString& GetFilename() const { return m_Filename; }
--- End code ---
will show only "wxString" in the symbol navigator tree. (see the screen shot below).

I know that m_ActualType is used for "code completion", but I do suggest the "full type" should be shown in the navigator tree instead of a truncated "actual type".

Any Comments? Thanks for reading. :D




[attachment deleted by admin]

ollydbg:
Solved. Patch file attachment.

[attachment deleted by admin]

ollydbg:
By the way:
The patch in the thread to deal with the Opencv
http://forums.codeblocks.org/index.php/topic,10162.0.html
will be improved by change to:


--- Code: ---m_Str= token + arg;
--- End code ---

So ,the full Opencv function declaration will be shown in both tips and navigator tree. See the screen shot below, but it seems that Printf() will show a __mingwXXXXX befor int.



[attachment deleted by admin]

Navigation

[0] Message Index

Go to full version