Delphi-RAG-Lint

drag-lint help

Doc Comment Stub (symbol)

Since: 0.25.0-alpha

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

FlagArgumentMeaningDefault
--qname<Foo.TBar.Baz>
--format
--dbPATH

Where to click

  • RAD Studio main menu: drag-lint > Generate & Export > Doc Comment Stub (symbol)...
    1. Put the caret on the symbol in the editor
    2. Choose drag-lint > Generate & Export > Doc Comment Stub (symbol)...
    3. 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.


All features | CLI reference | IDE menus