- Beancount
- Beancount Language Definition and Tools.
-
4 Recent Installs123 Total Installs
-
This extension is allowed to:
- Read Files
- Launch Subprocesses
Readme
Beancount Nova Extension
Beancount provides language support for Beancount plain text accounting files for Nova.
What’s included
This plugin currently implements:
- Syntax highlighting for the full Beancount v2 syntax
- Rudimentary autocompletion support for accounts, tags and links in transactions and postings
- Syntax validation with interactive errors (requires
bean-check
). - Task templates for importing transactions (
bean-extract
is required) and for running Fava (fava
is required).
The plugin supports Beancount executables from virtualenvs.
Contributing
If you encounter any problems or have a feature request, please report an issue or open a PR. Contributions are always welcome.
Changelog
Version 0.6.0
- The extension is now using a tree-sitter based parser for a faster and more reliable experience.
Version 0.5.0
- Add destination file to import task template (beacuse journals might be split across multiple files)
- Implement pushmeta, popmeta
- Align syntax definition with beancount parser
- Annotate syntax errors only in the affected file
Version 0.4.0
- Add
bean-black
formatting command
Version 0.3.0
- Add Syntax checking with issue matcher
- Add task templates for fava and transaction importing
Version 0.2.0
Added
- Support additional transaction flags
- Support
.bean
extension - Allow comma in numbers
- Support absolute cost in postings
Fixed
- Date recognition in cost specification
Version 0.1.1
Adds images and extension metadata
Version 0.1.0
Initial release
License
MIT License
Copyright (c) 2024 Kim Wittenburg
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.