intellij-elm

Elm plugin for IntelliJ Platform IDEs

MIT License

Stars
392
Committers
23

Bot releases are hidden (Show)

intellij-elm - Version 2.0.2

Published by klazuka almost 6 years ago

  • fixed type checker bugs (#117)
  • improved Find Usages results (#118)
intellij-elm - Version 2.0.1

Published by klazuka almost 6 years ago

  • Added 'Parameter Info' feature (#111)
  • Fixed bug when loading test-dependencies that don't exist (#115)
  • Fixed bug where name shadowing was marked as an error in Elm 0.18 (#116)
intellij-elm - Version 2.0.0

Published by klazuka almost 6 years ago

Two big new features in this release:

  1. Type inference and type checking
  2. Support for multiple Elm projects within the same IntelliJ project

Type Inference and Type Checking

Thanks to an epic contribution by @ajalt, the plugin can now perform type inference on arbitrary expressions in your program. Press ctrl-shift-p to display the inferred type of the expression under the cursor/caret.

The plugin also performs type checking, marking incompatible types in red.

There are 2 limitations to the type system as currently implemented:

  1. it does not work if a function is missing a type annotation (typically not a problem)
  2. it does not work if type variables (such as List a or Maybe a are involved)

We hope to remove the type variable limitation in the future.

Support for Multiple Elm Projects

You can now attach multiple elm.json (or elm-package.json) files to the same IntelliJ project. This allows the plugin to understand the structure of your Elm code and provide accurate code completion and go-to-declaration.

Other Changes

  • the elm-stuff directory is now marked as an excluded source root
  • improved name resolution for Elm 0.18 projects
intellij-elm - Version 1.3.3

Published by klazuka about 6 years ago

  • Fixed erroneous parse errors (#89 and #91)
  • Added an Elm tool window which shows the list of attached elm.json files
  • Attaching elm.json files to the workspace is now done async (#87)
intellij-elm - Version 1.3.2

Published by klazuka about 6 years ago

  • Add code folding (#70) by @ajalt
  • Allow multiple modules to be imported under the same name/alias (#72) by @klazuka
  • Improve parsing of string literals (#84) by @ajalt
  • Smart insert of " and ' for string and char literals (#85) by @ajalt
  • Exclude imports from "Find Usages" results (#71) by @ajalt
  • Plus some bug fixes and under-the-hood changes
intellij-elm - Version 1.3.2 (rc1)

Published by klazuka about 6 years ago

  • Add code folding (#70) by @ajalt
  • Allow multiple modules to be imported under the same name/alias (#72) by @klazuka
  • Improve parsing of string literals (#84) by @ajalt
  • Exclude imports from "Find Usages" results (#71) by @ajalt
  • Plus some bug fixes and under-the-hood changes
intellij-elm - Version 1.3.1

Published by klazuka about 6 years ago

  • Improve Elm toolchain detection on Windows. (#66)
  • Allow attaching "package" project elm.json file (#69)

Thanks to @ajalt for more great contributions to the project.

intellij-elm - Version 1.3.0

Published by klazuka about 6 years ago

Changes:

  • added quick docs (thanks @ajalt)
    • press ctrl-j or F1 to view docs for the identifier under the cursor
  • added rename file/module refactoring
  • added support for Elm 0.19
  • more Live Template improvements (thanks @d3xter)
intellij-elm - Version 1.2 Beta 5

Published by klazuka over 6 years ago

  • updated to support the Elm 0.19 rc1 binaries released on 2018-06-22
  • more Live Template improvements (thanks @d3xter)
intellij-elm - Version 1.0.0

Published by klazuka over 6 years ago

intellij-elm - Version 1.2 Beta 4

Published by klazuka over 6 years ago

This is for working with the Elm 0.19 release candidate only. If you are doing normal, Elm 0.18 development, stick with version 1.1.1

Changes since version 1.1.x:

  • Added support for Elm 0.19 and dropped support for 0.18 (#45)
  • Added rename refactoring for Elm modules/files, which also updates all imports, etc. (#46)
  • Added some live templates (#44, thanks @d3xter)
intellij-elm - Version 1.1.1

Published by klazuka over 6 years ago

Changes:

  • Big performance improvements (#37)
  • Improved parse error recovery
  • Do smart indent when hitting the Enter key after certain keywords (#38)
  • Added an intention action to create a function skeleton from a type annotation (#27)