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

codecompletion suggestion list

<< < (3/3)

blueshake:
i found the reason why the operator+ not show in suggestion list.
the operator+ token's variable m_IsOperator is true and in the fucntion
NativeParser::FindAIMatches,
the codes

--- Code: ---        if (token->m_IsOperator)
            continue;
--- End code ---


so the operator+ will be ignored.
my question is :
can i turn it on?

MortenMacFly:

--- Quote from: blueshake on August 30, 2009, 01:18:56 pm ---
--- Code: ---        if (token->m_IsOperator)
            continue;
--- End code ---

--- End quote ---
I don't recall who did it (but we can checkout svn blame for that) but IIRC it was to hide the operators as a lot of (base) classes have tons of operator overloads which usually don't matter because you just use them like: A + B and not "A.operator+()B" So CC makes no sense in most of the cases and just clutters the "interesting" methods. So if you enable it, please make it an option.

Navigation

[0] Message Index

[*] Previous page

Go to full version