Giter Club home page Giter Club logo

language-ledger's Introduction

Ledger language support in Atom Build Status

Adds syntax highlighting, autocompletion and parser error reports to Ledger files in Atom.

Grammar definition inspired by the Ledger TextMate bundle.

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.

Autocompletion

Autocompletion uses the autocomplete-plus package, that is bundled in Atom. In the autocomplete-plus settings pane Default Provider should be set to Symbol. The Minimum Word Length setting indicates when autocompletion is about to be triggered.

Autocompletion

Parser error reports

In case it is not accessible from PATH, the Ledger binary should be set in the ledger-language package settings pane. It will be used to silently check the journal file anytime it is saved. If there are parser errors, a notification is shown.

Parser

Transaction highlighting

Uncleared and pending transactions are highlighted by default. To customize the highlighting, call the Application: Open Your Stylesheet command to open styles.less and define the new highlighting styles there.

For example, add this snippet to disable highlighting of uncleared transactions:

atom-text-editor::shadow .ledger-transaction-uncleared .region {
  background-color: transparent;
}

language-ledger's People

Contributors

franciscod avatar kaylynb avatar saravanak avatar

Watchers

 avatar

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.