I am looking for a way to get dollar amounts to align to the right in VS Code. The hledger extension doesn't do this, and I haven't found one that does.
hledger-vscode extension doesn't do it
ledger extension doesn't do it
Beancount extension says it can align decimal marks, when you type them, but it didn't for me
Beancount Formatter extension will do it if you set the file's type to beancount and press Shift-Alt-F (or something else on linux). But only if you use beancount-style commodity symbols: capital letters on the right side.
I use Meta-Q in ledger-mode in Emacs to do it (running in a VSCode terminal pane, perhaps).
Ledger's print seems to align amounts globally, at least to some extent. So for ledger-compatible journals, filtering the transaction or journal through ledger print (manually) might be another way.