Code Monkey home page Code Monkey logo

Comments (3)

simonmichael avatar simonmichael commented on September 10, 2024 1

I think the situation is this:

  1. In the PTA world, only the PTA tools themselves can fully parse their own formats, and they usually have a command for outputting the same format (like print). But none of them does this perfectly, eg hledger print is good at preserving everything within a transaction, but it doesn't preserve directives or inter-transaction comments, so you have to work around that.
  2. There are some editor/IDE addons which can parse and reformat PTA data files. These parse more superficially, and are less strict with their formatting, but they are probably better at preserving data. ledger-mode in Emacs (M-q key), VS Code extensions like hledger-vscode, ledger, and Beancount, and probably some vim addons are some of these.

from hledger.

simonmichael avatar simonmichael commented on September 10, 2024 1

from hledger.

danihodovic avatar danihodovic commented on September 10, 2024

hledger print does seem to preserve comments which is great, but doesn't format the amounts for transactions consistently

2024-05-31 Manually added fees
    Expenses:Bank:Fees        EUR14.25
    Assets:Bank                  EUR-14.25

2024-06-01 Ice cream
    ; :-)
    Expenses:Ice Cream         EUR2.20
    Assets:Bank                    EUR-8.09

from hledger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.