Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CFDLNew to Visual Studio Code? Get it now.
CFDL

CFDL

cfdl

| (0) | Free
VSCode extension for the CFDL language server
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CFDL for Visual Studio Code

Language support for CFDL, the Cash Flow Domain Language: diagnostics as you type, completion, go-to-definition, semantic highlighting, and pack templates for .cfdl models.

Setup

  1. Install the language server. On macOS or Linux, brew install cfdl-dev/tap/cfdl installs cfdl-lsp on your PATH and the extension finds it with no setting. Otherwise download the cfdl-lsp binary for your platform from the releases page (cfdl-lsp-darwin-arm64, cfdl-lsp-darwin-x64, cfdl-lsp-linux-x64 or cfdl-lsp-windows-x64.exe), put it somewhere stable, and on macOS or Linux make it executable.
  2. Point the extension at it, if it is not on your PATH: set cfdl.serverPath to the binary's absolute path.
  3. Open a folder containing a model.cfdl and start writing. The four domain packs (cre, credit, energy, opco) are bundled with the extension, so use pack resolves with nothing to download.

The full guide, with the settings explained: Install for VS Code.

Settings

Setting What it does
cfdl.serverPath Absolute path to the cfdl-lsp binary
cfdl.packsPath A packs directory to use instead of the bundled packs
cfdl.entryFile The file that marks a model root (default model.cfdl)
cfdl.enableLoweringValidation Run pack lowering checks in the editor
cfdl.trace.server Language server tracing: off, messages, verbose

Command

CFDL: Apply Pack Template inserts a pack's template for a contract type at the cursor.

Learn the language

Docs, tutorials and an in-browser playground are at cfdl.dev; the course is at learn.cfdl.dev.

License and support

Licensed under the PolyForm Noncommercial License 1.0.0: free for any noncommercial purpose; use by or for a business needs a commercial license (support@cfdl.dev). Bug reports and questions: support@cfdl.dev.

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