While tinkering earlier today, I accidentally came across what I assume is an intentional feature in Free Pascal.
Consider the following type and constant declarations: Style 1
//{Boole-Logic} Represents an enhanced boolean (True, False, or Neither) value or state...
Type Boologic = (Nay=-1, Nor=0, Aye=1);
Const
// Control Characters
// ----------------------------
CTL_AKNWLDGMNT : Char = #6;
CTL_BACKSPACE : Char = #8;
CTL_BELL : Char = #7;
CTL_CANCEL : Char = #24;
CTL_CRGRTRN : Char = #13;
When hovering the mouse over any individual field member, an information window pops up that displays the name of the member, as well as the path to the unit file containing the member - as is shown in image 1.
Now, consider the same type and constant declarations restructured: Style 2
//{Boole-Logic} Represents an enhanced boolean (True, False, or Neither) value or state...
Type Boologic = (
Nay=-1, //Boologic; equates to false, no, negative, or off.
Nor=0, //Boologic; equates to vague, naught (or nought), neutral, nothing, neither, uninitialized, or undetermined.
Aye=1 //Boologic; equates to true, yes, positive/affirmative, or on.
);
Const
//Control character; acknowledgment.
CTL_AKNWLDGMNT : Char = #6;
//Control character; backspace.
CTL_BACKSPACE : Char = #8;
//Control character; bell ("ding") sound.
CTL_BELL : Char = #7;
//Control character; cancel.
CTL_CANCEL : Char = #24;
//Control character; carriage return.
CTL_CRGRTRN : Char = #13;
When I hover my mouse over a member, its description recorded in the associated comment is now also displayed in the information window - as is shown in image 2.
This seems to be a feature similar to IntelliSense in MS Visual Studio.
Can anyone...
a. confirm this is an actual feature in Free Pascal/Lazarus?
b. tell me what the name of this feature is and a link to where I might find it in the documentation?
Thank you.