Beancount Language Server Protocol (LSP)

501 views
Skip to first unread message

polarmutex

unread,
Mar 5, 2021, 4:59:31 PM3/5/21
to Beancount
Wanted to share to the community something I have been working on. I wrote a beancount language server. I also have a vscode plugin that mirrors the standalone language server. LSP is a protocol used by editors to perform common developer actions like completion and diagnostics.

Currently it does the following:
  • Returns diagnostics(errors) on file open and save
  • completion of date, payee strings, and accounts
  • formatting of the document
I have plans on more features in the future like more formatting options, go to definition, folding , and renaming. 

 I use neovim to edit beancount files and this tool really improves the workflow of using beancount in neovim. I have been using it for the last few months, but there are still some rough edges I am trying fix. Looking for feedback, ideas, and testing to make this really useful. Will gladly accept issues and pull requests to improve the tool.

My goal is to continue to make plugins to make editing and using beancount on Neovim editor first class. I plan on writing some blog posts on my workflow in the future

Boyd Kelly

unread,
Mar 5, 2021, 5:51:53 PM3/5/21
to bean...@googlegroups.com
I am currently using hledger.  But what you are doing is awesome!   Thanks!

--
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 beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/80338593-7002-4219-b871-6dd89b375e20n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages