vscode-beancount icon indicating copy to clipboard operation
vscode-beancount copied to clipboard

Align commodity doesn't work if there is no decimal point

Open mariosangiorgio opened this issue 7 years ago • 1 comments

Take for instance

2017-04-15 * "Somebody"
  Assets:Investments:Bank                      1.23 XYZ {123.45 GBP}
  Equity:OpeningBalances -15240 GBP

If I add a . after 15240 it works fine but it would be nice if alignment worked even for whole numbers

mariosangiorgio avatar Apr 15 '17 21:04 mariosangiorgio

I don't think it's very necessary. Just as you said, adding a . is enough. Certainly you are welcome to realize this function and make a pull request. I am busy with exams...

Lencerf avatar Apr 16 '17 01:04 Lencerf