Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there an text editor that is able to autocomplete the categories in hledger format ? It would be great to type Assets:: and then get a list of the possible categories, but I haven't found any editor or extension that does it.


People have written extensions for every editor. I've used in Emacs, vi, atom, and vscode.


vscode has some code coloring extension but no code completion that I'm aware of. If you found one, please consider sharing it :). I would happily switch to another editor if one has a extension that autocomplete categories.


I use beancount in emacs using the beancount extension which does autocomplete, and I’ve added some of my own elisp tricks to make navigating around the file easier.

It’s actually the only thing I use emacs for.


A VS Code extension for ledger-cli provide autocomplete as long as your journal compatible with ledger-cli


hledger-ui


To be precise, hledger-ui is not an editor, but it can open hledger add, hledger-iadd, or your $EDITOR[1] for data entry, all of which can complete account names. Web guis like hledger-web and Paisa tend to complete account names as well.

[1] https://plaintextaccounting.org/#editor-plugins




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: