DiPort adds local catalog validation and PDF preview support for DiPort report
projects in VS Code.
Features
DiPort: Validate Catalog runs diport validate for the opened catalog.
DiPort: Preview PDF runs diport preview for a selected template.html
file and opens the generated PDF beside the template.
Catalog files can be validated automatically on save.
The extension does not call the hosted DiPort APIs directly. Validation and
preview behavior comes from the diport executable configured in VS Code.
Setup
Install the DiPort CLI and make sure VS Code can find it. If the executable is
not available as diport on VS Code's process PATH, set diport.cli.path to
the absolute path of the CLI executable.
Open a DiPort catalog root in VS Code, then run DiPort: Validate Catalog from
the Command Palette. To preview a report, open a report template.html file and
run DiPort: Preview PDF.