I've created a console app/tool that on compile/run generates Declares for all files that are currently open in the IDE (including
Modules using a naming convention*). I had hoped that I would be able to output narrative using PrintN() and it would appear in the lower pane of the IDE but it doesn't. Is there a way to send strings from a tool for the IDE to display?
*The convention is simple.
For a Module:
Code:
;-mod-name.pb
DeclareModule myModule
XIncludeFile "mod-name-public.pb" ; this file is generated by the tool
EndDeclareModule
Module myModule
XIncludeFile "mod-name-private.pb" ; this file is generated by the tool
; leading underscore means private, declare is created in *-private.pb
Procedure.i _MyPrivateFunction()
; ...
EndProcedure
; no leading underscore, declare is created in *-public.pb
Procedure.i MyPublicFunction()
; ...
EndProcedure
EndModule
And for a standard source file:
Code:
;-my-code.pb
XIncludeFile "my-code-declares.pb" ; this file is generated by the tool