language-elmx

Syntax highlighting, autocomplete and lint for the Elm language extended with embedded HTML (elmx)

Patricio Zavolinsky

3,497

1

Bug Reports

2.1.1

MIT

GitHub

This package provides the following services:

language-elmx Atom package

Syntax highlighting, auto-completion and lint for the Elm language extended with embedded HTML (elmx).

Note: while this package provides standalone support for elmx files, additional functionality such as auto-completion and linting require additional packages. If these packages are not installed this functionality will be disabled.

Installation

  1. apm install language-elmx
  2. Install language-elm - required for auto-completion.
  3. Install linter-elm-make - required for linting and in-place compilation.

Credits

The elmx grammar in this package is heavily inspired in the jsx grammar from the react package and the html grammar from the language-html package.

Linting is provided thanks to linter-elm-make, this package just pre-compiles the input .elmx into .elm and then updates the lint results.

Auto-completion is provided thanks to language-elm, this package just proxies the call to adjust file names.