You will need to install elm and elm-test to get all diagnostics and elm-format for 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 package.json.
npm install -g elm elm-test elm-format
Supports elm 0.19
Provided via elm make, elm-test and elm-analyse
Provided via elm-format and post-processed to only return a diff of changes. This way it should not be as intrusive as running elm-format normal
Currently only shows if a type alias, custom type or function is exposed from that module
Show completions for the current file and snippets
Enables you to jump to the definition of a type alias, module, custom type or function
Identifies all symbols in a document.
Let's you fold the code on certain elm constructs
Shows type annotations and documentation for a type alias, module, custom type or function
Lists all references to a type alias, module, custom type or function
Enables you to rename a type alias, module, custom type or function
Identifies all symbols in the current workspace
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.elmFormatPath: The path to your elm-format executable.
elmLS.elmTestPath: The path to your elm-test executable.
elmLS.elmAnalyseTrigger: When do you want the extension to run elm-analyse? Might need a restart to take effect.
Contributing / Debugging
git clone --recursive firstname.lastname@example.org:elm-tooling/elm-language-client-vscode.git
Open VSCode with this project (code .) and press F5 to start debugging the plugin.