I want to see comments as tooltips in VS Code with the OmniPascal extension. Right now, comments are not appearing in tooltips despite trying different Pascal commenting styles.
Maybe i just dont know about some basic feature in VS Code / convention in Pascal, but I dont know how to get shown comments (intended as documentation) in the tooltips which appear when using autocomplete / hovering over function in VSCode with OmniPascal.
The function signatures are shown correctly. I tried all styles of commenting in Pascal, as shown below, in the snippet in block "what have you tried", above and under the function declaration, each attempt with no result.
Am I missing something, or is this feature not available with OmniPascal? This extension is helping me greatly, right now I use go to definition to see any comments, but it would be neat to see this information without traveling out of place, so I do not have to do so much context switching.
Thanks for clarification / any tips, how to get this going.
Sorry for possible duplication of information and stating obvious things, the bot is not easily satisfied.
I tried put all different styles of commenting I know of,around sample procedure, as shown bellow.
For the BOT: i tried one line above, then the line below, then added another style etc. After each addition, I checked wheter i see 'comment' in tooltip when i write the word 'proc' in the main body of program. Every time i have seen just the signature of proc.
program p;
// comment
(* comment *)
{ comment }
/// comment
/// <summary>
/// comment
/// </summary>
procedure proc();
/// <summary>
/// comment
/// </summary>
/// comment
{ comment}
(* comment *)
// comment
begin
end;
I would expect / want something like if I did this in Python:
def foo():
"""comment"""
pass