Mark Hansen
Mark Hansen
It's probably the word boundary "\b" at the end of the 'currencies' regular expression . I think I mostly expect currency symbols to be after the number. I've added a...
Hmm. There is a philosophical thing here, should we match just known allowed currencies or any string in the right place? Matching know currencies would catch more typos, which is...
May god have mercy upon my soul for these regular expression crimes... https://github.com/mhansen/hledger-vscode/commit/2b51056438fef81842482bd9bb77d0dd93f61e28#diff-89b42d1b3542ae0696e5a3816ce607372c14d198667fd9ad5fef318867385990R29 :-)
I'm thankful for a test suite that'll hopefully tell me if I screw it up too bad. Should be released soon in v0.0.10: https://marketplace.visualstudio.com/items?itemName=mark-hansen.hledger-vscode
Can you confirm you've updated to 0.0.10? Can you share the entire transaction too, I can add a test for it.
Ah, bother. Not as easy to fix as I'd hoped. I probably won't have time to pursue this one anytime soon sorry On Tue, 8 Nov 2022 at 21:18, Alen...
A reasonable feature request. How do the other ones notice errors? Are they continuously shelling out to hledger to parse the file? On Mon, 5 Sep 2022 at 19:42, Pranesh...
Right, looks like they call “ledger stats” whenever the file changes. My hledger file is a few years of data and takes a few seconds to output. If i set...
Right. This is a reasonable feature request, but its hard to do. I have seen such formatters. I really wish it was built into hledger. Like gofmt is built into...
> What's wrong with piping through hledger print (and handling inter transaction content separately) ? I suppose I'd want to be very careful not to lose data. So I'd want...