connecting definition comments to their definitions
Submitted by Kristof Szabados
Link to original bug (#568436)
Description
Currently the comments of definitions are not connected to their definitions in the Designer, and so can not be shown to the user.
Implementing this connection, would make it possible to show for example at the calling site of a function, what the parameter it expects are.
The issue in the background however is that the comments are handled by the lexer, while the definitions are recognized by the parser. And these 2 entities can be out of sync as part of correct operation. It could also happen that we first run the lexer only to create the list of lexical tokens from the file and run the parser on this token, after the lexer finished all of its work. But this feature, will require either to keep them in sync, or to create the pairing after all processing is done.
Version: 7.1.0