Simple Beancount support for VSCode
- Syntax highlight (syntax file from draug3n/sublime-beancount)
- Decimal point alignment
- Insert current Date
- Auto check after saving
- Code snippets (@vlamacko)
This extension contributes the following settings:
beancount.separatorColumn
: specify the column of the decimal separator.beancount.instantAlignment
: Set it totrue
to align the amount (like 1.00 BTC) once a decimal point is inserted.beancount.mainBeanFile
: If you are splitting beancount files into multiple files, set this value to either the full path or the relative path to your main bean file so that this extension can get all account information. If it is left blank, the extension will consider the file in the current window as the main file.beancount.runFavaOnActivate
: If it is set totrue
, fava will run once this extension is activated.
Split your ledger into several .bean
files according to time or accounts and
put all your open
/close
in a main file. Include all other files in the
main file by the include
command. For example, the file structure looks like this
BeanFolder
├── main.bean
├── before2017.bean
├── 2017-01.bean
└── 2017-02.bean
Open BeanFolder
with VSCode and set beancount.mainBeanFile
to the path of main.bean
in the current Workspace Settings.
see GitHub issue page
- Correctly handle terminal-close event.
- Fix some potential bugs;
beancount.mainBeanFile
now cen be set to either a relative path or a full path. (@robotkid)
- Fix a bug related to an empty contentChanges array. (@robotkid)