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. |
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:
License
MIT
| |