Git Product home page Git Product logo

elm-plugin's Introduction

elm-plugin

Elm language plugin for IntelliJ IDEA.

Features

This plugin supports Elm 0.18.0. If you need to have different version supported, see this link.

  • Parsing the syntax
  • Syntax highlighting and color settings page
  • Going to declaration
  • Highlighting unresolved references
  • Code completion
  • Brace matching
  • Spellchecking
  • Rename refactoring

Formatting is currently not a feature of the plugin, but elm-format can be used instead. If you don't know how to configure IntelliJ to use elm-format you can find some information here

Building from sources

  1. Setup your development environment according to this instruction.
  2. Clone this repository.
  3. Open it as a Plugin Project in IntelliJ IDEA (either Community or Ultimate version).
  4. Make sure you have Grammar-Kit and PsiViewer plugins installed.
  5. Delete the content of gen directory if you have previously generated parser code from another version of the BNF file.
  6. Open src/org/elmlang/intellijplugin/Elm.bnf file and generate the parser code (*)
  7. Open src/org/elmlang/intellijplugin/Elm.flex file and generate lexer code (*)
  8. The plugin should be ready to run now.

(*) either from a context menu or by keyboard shortcut โ‡งโŒ˜G

Contributing

If you would like to develop a new feature or fix a bug:

  • Please add an issue to Github so that everyone can share his/her opinions and ideas
  • Please create a pull request when you finish development
  • If you would like to do any change to the parser or a non-trivial change to resolving references, please contact me before.

License: MIT

elm-plugin's People

Contributors

durkiewicz avatar ianp avatar

Watchers

James Cloos avatar l0rinc 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.