Elm Plugin for IntelliJ IDEs (WebStorm, IDEA, PyCharm, etc.)
Install
You can install the plugin from within the JetBrains IDE by going to Settings -> Plugins and then searching for "Elm". After installing the plugin, restart the IDE and then open your existing Elm project or create a new project.
Highlighted Features
- Live Error Checking
- Generate JSON Decoders & Encoders
- Rename refactoring
- Lamdera support
- elm-review support
Additional Features
- Type Inference
- Find Usages
- Run Tests (elm-test)
- Reformat File (elm-format)
- Cleanup unused imports
- Detect unused code
- Add Imports
- Quick Docs
- Structure View & Quick Nav
- WebGL/GLSL support
- Code Folding
- Manage the Exposing List
- Plus the usual IDE stuff: code completion, go-to-declaration, spell-checking, etc.
Want to see it in action? This 10 minute video demonstrates many of the features and how they work together.
Note: if you have node installed using nvm, please see the related information here.
FAQ
- Is this free?
- Yes, the plugin itself is free and it works with the free version of IntelliJ.
- What versions of IntelliJ does this work with?
- IntelliJ IDEA Ultimate
- IntelliJ IDEA Community Edition (free!)
- PyCharm Professional
- PyCharm Community (free!)
- WebStorm (amazing JS and CSS support)
- and others (untested)
Elm IntelliJ Plugin
Template ToDo list
- Create a new IntelliJ Platform Plugin Template project.
- Get familiar with the template documentation.
- Verify the pluginGroup, plugin ID and sources package.
- Review the Legal Agreements.
- Publish a plugin manually for the first time.
- Set the Plugin ID in the above README badges.
- Set the Deployment Token.
- Click the Watch button on the top of the IntelliJ Platform Plugin Template to be notified about releases containing new features and fixes.
Elm & Lamdera Plugin
Installation
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Elm" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins >
⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.