Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Beancount SproutNew to Visual Studio Code? Get it now.
Beancount Sprout

Beancount Sprout

yurenju

|
2 installs
| (0) | Free
Lightweight Beancount support for VSCode: syntax highlighting, formatting, account completion
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Beancount Sprout

Lightweight Beancount support for VSCode. Zero runtime dependencies.

Features

  • Syntax Highlighting — Full TextMate grammar for .bean / .beancount files
  • Format Document — Align amounts at decimal point (Shift+Alt+F or format on save)
  • Thousand-Separator Commas — Automatically insert commas during formatting (10000 → 10,000)
  • Account Completion — Auto-complete account names parsed from open directives
  • Document Links — Click on include "..." paths to open referenced files

Settings

Setting Type Default Description
beancountSprout.separatorColumn number \| null null Align currencies at this column. null = auto-calculate.
beancountSprout.insertCommas boolean true Insert thousand-separator commas when formatting.
beancountSprout.fixedCJKWidth boolean false Treat CJK characters as double-width for alignment.

Format on Save

Add this to your VSCode settings to format automatically when saving:

"[beancount]": {
  "editor.formatOnSave": true
}

Acknowledgements

This extension builds upon the work of two existing open-source projects:

  • vscode-beancount by Lencerf (MIT License) — TextMate grammar for syntax highlighting
  • vscode-beancount-formatter by dongfg (MIT License) — Alignment algorithm

License

MIT

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