Code Monkey home page Code Monkey logo

language-kotlin's Introduction

Language Kotlin

A textmate compatible grammar for the Kotlin language.

Node.js CI codecov

Setup

This project is built using a couple of handy node scripts. Begin by installing the required dependencies.

$ npm install

Build

Changes to the grammar should be made in the src folder. These are merged at build time and used to produce the final artifact.

Once you are satisfied with your changes, you will need to generate xml and json variants for distribution. There's a handy build script available to automate this process.

$ npm run build

This will outputs the merged sources to the dist directory. At this point it's highly recommended that you test your changes using GitHub Lightshow. There's some manual work involved in doing this however this is the closest representation of what it would look like when it is deployed that is available at this time.

You can format your sources using the code formatting script.

$ npm run format

Testing

All changes to the grammar must be accompanied by tests covering relevant scopes.

Tests are run using vscode-tmgrammar-test. Test cases and regression tests are available in the /test folder.

Generated snapshots are available in the /snapshots folder and should be updated with changes to the grammar.

The test suite can be run using npm

$ npm test

Useful resources

Code of Conduct

Please note we have a code of conduct which must be observed in interactions with the project.

language-kotlin's People

Contributors

nishtahir avatar animeshz avatar dependabot[bot] avatar shaeberling avatar clasherkasten avatar starsep avatar qhy040404 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.