Skip to content

Support for hledger's "code" field #330

@akosiaris

Description

@akosiaris

First off, thanks for this software!

Now for the issue I am seeing, hledger supports a code field. This comes after the status mark, but before the description. It can more or less be any valid hledger identifier. e.g. (1234) or (foobar) or (here is a nice string). I tend to put there a UUID, either a provided one, or one I generate, but that's just me.

What I end up seeing when using nanoledger is this

Image

The payee field is joined with the code field and I need to scroll the field to see the payee, which admittedly isn't a great user experience.

A quick look at https://github.com/chvp/NanoLedger/blob/main/app/src/main/java/be/chvp/nanoledger/data/parser/TransactionParser.kt#L11 seems to not contain an implementation for the code field, but I am not even a newbie in Kotlin, so I might be wrong.

It would be nice if the code field was supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions