Doc Comment Stub (symbol)
Uses generate-docs to produce a doc-comment stub for one qualified symbol.
Read this when you want to start a DocInsight comment on one specific method, type or property. It produces a doc-comment stub for the chosen qualified symbol.
How to run it
Full flag list: generate-docs in the CLI reference.
Flags
| Flag | Argument | Meaning | Default |
|---|---|---|---|
--qname | <Foo.TBar.Baz> | ||
--format | |||
--db | PATH |
Where to click
- RAD Studio main menu: drag-lint > Generate & Export > Doc Comment Stub (symbol)...
- Put the caret on the symbol in the editor
- Choose drag-lint > Generate & Export > Doc Comment Stub (symbol)...
- The doc-comment stub for the symbol is produced
Details
Uses generate-docs to produce a doc-comment stub for one qualified symbol.
Reach for it to start a DocInsight comment on a specific method, type, or
property.
Running it from the CLI
drag-lint generate-docs --qname <Foo.TBar.Baz> [--format xmldoc|pasdoc] [--db PATH]
--qname is the fully qualified symbol; --format selects xmldoc or
pasdoc output.
What it needs
The --db flag is optional -- drag-lint auto-resolves the project's index
when omitted. An index must still exist.
Example
Illustrative only:
drag-lint generate-docs --qname MyApp.TCustomerOrder.Total --format xmldoc --db <project folder>\_D-RAG\MyApp.sqlite
This would produce a doc-comment stub for the Total member of
TCustomerOrder.