Please be less aggressive when sanitizing procedure hints
Posted: Mon Nov 07, 2016 12:03 am
Please be less aggressive when sanitizing the whitespace of parameters procedures for IDE hints.
I'm trying to implement macro annotations to clarify the intent of procedure arguments but the spaces between the annotations and the parameters themselves are lost. This is causing the annotation to be concatenated with the parameter name.
For example:
I see the hint as:
On a minor note, adding an annotation prefix causes pointers which share the same name as a keyword to be colored as a keyword instead of a field. This isn't necessarily a bug since what I'm doing is an odd use case:
I'm trying to implement macro annotations to clarify the intent of procedure arguments but the spaces between the annotations and the parameters themselves are lost. This is causing the annotation to be concatenated with the parameter name.
For example:
Code: Select all
Macro _IN
EndMacro
Macro _OUT
EndMacro
Macro _OPT
EndMacro
Procedure SomeProc(_IN a, _OUT b, _OPT c)
EndProcedure
SomeProc(
Code: Select all
SomeProc(_INa, _OUTb, _OPTc)
Code: Select all
Procedure SomeProc(_IN *Data)
EndProcedure