Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>FTL ForgeNew to Visual Studio Code? Get it now.
FTL Forge

FTL Forge

Bar

|
53 installs
| (1) | Free
Formatter for FreeMarker .ftl templates (HTML + FreeMarker tags).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Security & Privacy

  • No telemetry. This extension does not collect, store, or transmit any data.
  • No network calls. It doesn’t access the internet, spawn child processes, or read files outside the opened .ftl.
  • Activation scope: Only activates for files with the .ftl extension.
  • Formatting only: All logic runs locally inside the VS Code extension host; it doesn’t execute template code.

A precise formatter for FreeMarker (.ftl) used in NetSuite PDF/HTML templates. It keeps HTML and FreeMarker blocks perfectly aligned—open/close tags line up in the same column, nested tables indent correctly, and middle tags like <#else> align to their opener.

Why FTL Forge?

  • HTML + FreeMarker aware: <table>, <tr>, <td> and <#if>, <#list> all indent correctly.
  • Middle-tag alignment: <#else>, <#elseif>, <#recover> align with the opener.
  • Inline safety: preserves inline text like <pagenumber/> of <totalpages/>.
  • No surprises: removes only extra blank rows—never alters your content.

Usage

  1. Install FTL Forge (ID: Bar-Tools.ftl-forge).
  2. Open a .ftl file and run Format Document
    • Windows/Linux: Alt+Shift+F
    • macOS: Option+Shift+F

Make it the default formatter for .ftl

Add to Settings (JSON):

"[freemarker]": { "editor.defaultFormatter": "Bar-Tools.ftl-forge" }

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft