Improving your Elm experience since 2019
Supports elm 0.19 and up
npm install -g elm-test elm-formatin a terminal
npm install -g elm-reviewin a terminal and enable it in your settings
This extension contributes the following settings:
elmLS.trace.server: Enable/disable trace logging of client and server communication
elmLS.elmPath: The path to your elm executable.
elmLS.elmReviewPath: The path to your elm-review executable.
elmLS.elmReviewDiagnostics: Configure linting diagnostics from elm-review. Possible values:
elmLS.elmFormatPath: The path to your elm-format executable.
elmLS.elmTestPath: The path to your elm-test executable.
elmLS.disableElmLSDiagnostics: Disable linting diagnostics from the language server.
elmLS.skipInstallPackageConfirmation: Skip confirmation for the Install Package code action.
elmLS.onlyUpdateDiagnosticsOnSave: Only update compiler diagnostics on save, not on document change.
elmLS.elmTestRunner.showElmTestOutput: Show output of elm-test as terminal task.
We used to have a file called
elm-tooling.jsonwhere you could specifiy
"entrypoints". That’s not needed anymore – the language server finds the entrypoints automatically.
If all you had in
"entrypoints", you can safely remove that file.
How to get a logfile?
Output: Focus on Output View-> In the now open panel, use the drop down on the right to choose
Elm (your project name)
Most features don't seem to work for me?
elm.json. You can easily initialize your project with
elm init. If it still does work, please try if you get the same behavior with the elm-spa-example.
What's the relation to the language server?
Why do I need to install
elm-testto get all diagnostics and
elm-formatfor formatting. If your setup fails to find the global installations of those, you can use the settings panel in VSCode to set the paths to the executable manually. Alternatively you can also just install these to your local npm
I don't like the inserted lines for "X references" (CodeLenses)
I'm using glsl and the extension is not helpful
git clone --recursive [email protected]:elm-tooling/elm-language-client-vscode.git cd elm-language-client-vscode npm install
Open VSCode with this project (
code .) and press
F5to start debugging the plugin.