Hate to grave dig, but I wanted to bring to light getting the auto-complete 
function mentioned in the original thread going. An issue has been opened 
up on Github for anyone interested in helping 
out: https://github.com/draug3n/sublime-beancount/issues/5

On Tuesday, September 23, 2014 at 8:09:36 PM UTC-7, Martin Blais wrote:
>
> That's very cool! :-)
> I'll add a link to the resources section of the readme page and in the 
> docs.
>
> On Mon, Sep 22, 2014 at 6:21 AM, Martin Andreas Andersen <
> [email protected] <javascript:>> wrote:
>
>> I have now added my Sublime Text helper package for Beancount to Package 
>> control (http://sublime.wbond.net). Search for "Beancount" :)
>>
>> These are still early days. So far, I have a working syntax definition 
>> and a build system, which both expect files with the .beancount extension.
>>
>> The syntax definition knows about:
>> - Directives
>> - Payees
>> - Narratives
>> - Flags
>> - Currencies
>> - Amounts
>> - Tags
>> - Links
>> - Lots
>> - Prices
>> - Costs
>> - Root accounts
>> - Accounts
>>
>> I have written the syntax definition explicitly, so any text not captured 
>> by the parser is flagged as invalid (and the pipe in txns is flagged as 
>> deprecated). This does mean that org-mode 'overloading' gets flagged. I 
>> could style this as well (especially useful if i can wrangle ST to allow 
>> folding by org-mode sections - more research is needed, but so far it seems 
>> ST only does indent-level folding :/).
>>
>> The build system runs bean-check on the current file. The line numbers in 
>> the output are clickable, and take you to the erroneous line.
>>
>> Going forward, things I could see being useful, in no particular order:
>> - context-specific autocomplete for accounts, limited to accounts from 
>> "open" directives, and only displaying direct descendants
>> - journal prettification, specifically aligning by decimal points inside 
>> transactions. Currently leaning toward padding against the longest account 
>> name in the transaction, but I can see the appeal of going for longest 
>> account in document too
>> - running reports inside ST, with output to a scratch buffer
>>
>> No timeframe for this however - I am learning python as I go here :)
>>
>> --- Martin
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Beancount" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beancount/28844412-5210-4ee7-80b7-8e8d9a563089%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beancount/28844412-5210-4ee7-80b7-8e8d9a563089%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/bd1f6f67-3840-4453-bab3-759292daf772%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to