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

function tooltip

(1/1)

killerbot:
Assume the following code :


--- Code: --- ISerialCommunicator* Comm = new SerialCommunicator(
Engine->s_ComPort, m_BaudRate, m_DoCommunicationLogging, "");

--- End code ---

When mouse hovering over 'SerialCommunicator' one does NOT get the tooltip of the constructor of this class, but a tooltip saying :

--- Quote ---class SerialCommunicator {...}

--- End quote ---

Is this done on purpose or is this a mistake ?


ollydbg:
I think there's mistake of the parser.

--- Code: ---class SerialCommunicator{
public:
       void SerialCommunicator(XXXX);
};

--- End code ---

For these kind of statement, thereā€˜s two tokens (the class declaration and the constructor) should be added. So, the function tooltip should match two entries in the token tree.

You can select the "SerialCommunicator", and right click, and select context menu: see deceleration of "SerialCommunicator".

Navigation

[0] Message Index

Go to full version