Giter Site home page Giter Site logo

kpitt / elm-light Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rundis/elm-light

0.0 1.0 0.0 16.1 MB

Elm language plugin for Light Table

Home Page: https://rundis.gitbooks.io/elm-light-guide/content/

License: MIT License

JavaScript 72.85% Clojure 19.29% CSS 2.29% Elm 3.36% HTML 2.22%

elm-light's Introduction

Elm LightTable plugin

Elm language plugin for Light Table

elm light

Installation

Install using the Light Table plugin manager. Alternatively you can clone it into $LT_USER_HOME\plugins. (If you know what you are doing, this is a great way to try out the latest and greatests not yet released !)

Preconditions

  • LIghtTable 0.8-alpha or higher is required

  • You will need to have the elm-platform (there is also a npm installer out there) installed and the following should be in your path:

  • For all commands/features you will need to have a project folder with a elm-package.json file

ℹ️
Tested with Elm 0.18.0 and Elm 0.17.1 on OS/X 10.9.5, Ubuntu 14.04 and Windows 10.

Documentation

Please see the Guide for a comprehensive documentaiton on how to use the plugin.

Resources

Feature demos

Testing

elm light test teaser

Inline docs and jump to

ast teaser

Type aliases and records even

elm light type alias

Yeah some destructuring support too !

destructuring

Repl

elm light repl

Package Manager

Install package and start using at once

pck inst and use

Package docs

Preview package documentation inside Light Table. Updates on save. package docs

Module graph

module graph

Contributing

Pull requests are most welcome. Please do not include the transpiled files (_compiled) in the PR.

History

  • 0.5.1 Better destructuring support and a few bugfixes

    • Support jump to, docs and autocompletions for common param destructuring cases

    • Enhancement: Upgrade highlight.js for more accurate source highlighting in docs

    • Enhancement: Adjust test folder default when initializing new test project

    • Bugfix: Handle single-char region errors (previously wouldn’t show up)

    • Bugfix: Package doc preview now loads correct doc when multiple are generated by elm-make due to module deps

  • 0.5.0 Elm Test support is back (requires Elm 0.18).

    • Features to set up new test project, run one, a modules or all tests in your project. Test results display in a visual test runner + in the console.

    • Show popup if the plugin isn’t able to find the elm binaries

    • Show errors when there is a mismatch between your project version and the currently install Elm version on your machine

    • Show popup if you try to use elm-format related features, but the plugin is unable to find the elm-format executable

    • Attempted to provide better support for node installed Elm executables on Windows (using cross-spawn)

    • Fixed a regression with the interactive repl features not working

    • Adjusted the autocompleter for changes in default imports in Elm 0.18

  • 0.4.2

    • Fixed a bug with faulty/erronous events from chokidar or it’s underlying libs causing issues on Windows

  • 0.4.1

    • Fixed manual connect bug

    • Auto completions for type alias params in function bodies

    • Jump to and docs for type alias params in function bodies

  • 0.4.0 Introduction of AST based features. The plugin now parses your project Elm files (and 3rd party packages too)

    • Added features

      • Find usages

      • Inline doc now renders the documentation markdown (your own docs included)

      • You can Jump to definition and back

      • Autocompleter suggests both for 3rd party imports as well as for you project imports

      • Expose/unexpose declarations for a module

      • Quick import module

      • Sort imports

    • Removed features

      • Elm test related features have temporarily been removed. They will be rewritten to support the totally rewritten elm-test package

      • Elm reactor debug command has been removed as elm-reactor doesn’t support debugging in 0.17

  • 0.3.8 Support code folding, fix autoclose brackets issue, scrollposition after format improvement

  • 0.3.7 Improved autocompleter implementation and added quick-fixes feature to Linter messages

  • 0.3.6 Added package doc preview feature

    • Fixed bug with lint display at bottom of editor getting cut off

  • 0.3.5 Added module browser

    • Bugfix: Display make errors (both make and linting)

  • 0.3.4 Updated to supprt elm-format 0.2-alpha

    • Added format buffer (keeps unsaved changes) and format expression commands

  • 0.3.3 Fix compatibility with LT 0.8.1. Also tweaked the autocompletion to be a little faster and more accurate.

  • 0.3.2 Module aware autocomplete and remove leading pipes from repl results

  • 0.3.1 Added an inline project dependency graph (using d3)

  • 0.3.0 Added windows support. See github release notes for details

  • 0.2.0 Improved linting, introduced test support and support for elm-format

  • 0.1.3 Bugfix: Forgot to include react.js (used for rendering package ui)

  • 0.1.2 Package manager and 0.16.0 fix

    • UI for managing your project packages.

    • 0.16.0 fix: Remove ansi color codes from errors and warnings shown inline

  • 0.1.1 Maintenance release:

    • Feature to select top level expressions

    • Eval in repl with no selection automatically selects top level expression based on cursor position

    • Syntax highlight multiline strings """

    • Allow user to select to browse file in reactor with or without debugger

    • Fix: Allow reuse of released reactor ports

    • Add tag :editor.elm.common to allow users to configure common behaviors/commands for repl and editors more easily

  • 0.1.0 Initial release

License

MIT, same as Light Table. See LICENSE.md for details.

elm-light's People

Contributors

rundis avatar gitter-badger avatar jeffreyjw avatar

Watchers

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