Region folding - use indentation (#5), or special comments (#11)
This extension contributes the following settings:
beancount.separatorColumn: specify the column of the decimal separator.
beancount.instantAlignment: Set it to true 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 to true, fava will run once this extension is activated.
Split your ledger into several .bean files according to time 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
Open BeanFolder with VSCode and set beancount.mainBeanFile to the full path of main.bean in the current Workspace Settings. That means if you
open .vscode/settings.json, you should see something like this:
Now once BeanFolder is opened as a workspace in VSCode, this extension will be able to invoke beancount to check errors and calculate balances.