Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ferroreport templates (.ferro)New to Visual Studio Code? Get it now.
ferroreport templates (.ferro)

ferroreport templates (.ferro)

Cristian Encarnacion

| (0) | Free
Syntax highlighting, snippets and folding for ferroreport's .ferro report templates (PDF, Excel and Word reports).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ferroreport templates for VS Code

Write ferroreport report templates (.ferro) with syntax highlighting, snippets and folding, and see the PDF change each time you save.

Typing an "if" block with a snippet in invoices.ferro, saving, and the PDF beside it updating with the new red "Overdue" lines

What you get

  • Highlighting for every part of a template: sections (title, detail, row...), parts (text, textField, staticText, image...), declarations (field, parameter, variable), sizes like 2fr, attributes (with colors such as red or #B00020 and alignments such as right), and the text or expression after :, with its {field}, $F{}, $P{} and $V{} references, strings and numbers.

  • Snippets that type the structure for you:

    Type You get
    report A new report with a style, a title and a detail
    text A text with a {field} in it
    text= A text whose value is an expression: ={qty} * {price}
    field A field and its class
    row Parts side by side
    if Parts printed only when a condition holds
    each Parts repeated for every row of a nested list
    def / use A definition, and a place that uses it again
    import Definitions and styles from another file
  • Folding by indentation, comments with Ctrl+/, and automatic indentation after a line that opens a section.

See the PDF while you edit

The extension edits the template; the ferroreport command renders it. Run this in the terminal and keep the PDF open beside the template: it is written again every time you save the template or the data.

ferroreport render invoices.ferro -d invoices.json -o invoices.pdf --watch

Change the extension of -o to get .xlsx, .docx, .ods, .odt, .csv or .html from the same template. To get the command, download it from Releases or run cargo install ferroreport-cli.

A .ferro invoice template with highlighting next to the PDF it renders

Learn the format

  • The .ferro format: every section, part and attribute.
  • Examples: the invoice from the animation (invoices.ferro, parts.ferro, invoices.json) and more.
  • Already have JasperReports templates? ferroreport renders .jrxml files as they are.

License

MIT or Apache-2.0, at your option.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft