I use XMLDoc comments (see links and discussion here . This is basically adding a specialized type of comment to your code in the section of the interface, simply over declarations of properties or methods. Thus, a senseless (of course) example. If you add similar style comments to your code, they will appear in Code Insight when you call it when writing code, as the VCL documentation does.
type {$REGION 'TMyClass description'}
I prefer to wrap these XMLDoc comments in regions, so they can be minimized out of the way if I don't want to edit them. I have done it above; if you donβt like it, delete the lines using {$ REGION} and {$ ENDREGION}
source share