• Stars
    star
    133
  • Rank 272,600 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Elm language plugin for Light Table

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.

More Repositories

1

elm-bootstrap

Responsive and reliable web apps with Elm and Twitter Bootstrap
Elm
398
star
2

albums

Sample application for my blog series on creating a Single Page CRUD app using Elm and Haskell
Elm
123
star
3

clj-light-refactor

Light Table plugin providing refactoring support for clojure
JavaScript
55
star
4

acme-buddy

Sample applications for my blog series on authentication and authorization with buddy
Clojure
45
star
5

LightTable-Groovy

Groovy plugin for Light Table
JavaScript
25
star
6

parembrace

A different PareEdit for Light Table - powered by rewrite-cljs
JavaScript
14
star
7

lt-snippets

Snippets/templates support for Light Table
JavaScript
12
star
8

elm-bootstrap.info

User documentation for Elm Bootstrap
Elm
11
star
9

blog

My Personal Blog Space
CSS
10
star
10

elm-sweeper

Elm
9
star
11

elm-workshop

Get started building Web Apps with Elm
Elm
9
star
12

gradle-buster-plugin

Gradle plugin for running buster js javascript tests
Groovy
7
star
13

LightTable-settings

My Personal settings for the LightTable Editor
JavaScript
6
star
14

generic-gradle-model

A generic General purpose Gradle model that exposes more of your project info than what you get from the shipped tooling api.
Groovy
4
star
15

elm-autoselect

Customizable autocomplete / select with debouncing support etc
Elm
3
star
16

ltplanck

Light Table Planck plugin
JavaScript
3
star
17

AsciiLight

AsciiDoc preview plugin for Light Table
JavaScript
2
star
18

TapestryGorm

Tapestry and Gorm in harmony
Groovy
2
star
19

osloelmday

Elm
1
star
20

elm-jz2016

Elm
1
star
21

euro-2016-predictions

Coming soon
Elm
1
star
22

Dumpling

Gradle sample multiproject
Java
1
star
23

elm-docker-cloud-demo

Sample App for a potential elm-docker-cloud api lib
Elm
1
star
24

elm-flatmap2016

Functional Programming for The Web using Elm - Flatmap 2016
JavaScript
1
star
25

lt-user-plugin

My User Plugin for Light Table - The new home of all my settings and tweaks
JavaScript
1
star
26

ts-ws-machine

TypeScript WebSocket Client modelled as an FSM. Comes with reconnect and heartbeat support
TypeScript
1
star