Rubberduck-like annotation syntax
Here's a sample of the @Description annotation in use in twinBASIC:
Some annotations, like @Folder, are unnecessary in twinBASIC.
Yet others, like @ModuleDescription, I simply wasn't able to get working in twinBASIC (I don't know if that's on me or if it's not supported). UPDATE (4/14/21): There's no need for a standalone @ModuleDescription annotation in twinBASIC. The @Description annotation can be written above the
Class Xxxx or
Module Xxxx lines to provide inline documentation that applies to the respective class or module:
Finally, there are a handful of annotations–like @DefaultMember and @EnumeratorMember–that make it easier to manage hidden attributes that are not directly accessible from the VBA editor. I'm not sure how twinBASIC plans to handle those attributes.
UPDATE (4/14/21): Show proper usage for class- and module-level docstrings.