The following section demonstrates a quick example of how you can run the ALS as a pure LSP in IntelliJ
This example requires the ALS jar ready, Java 1.8 or newer in PATH, and IntelliJ LSP Plugin.
- With the IntelliJ LSP Plugin installed, go to
Preferences -> Languages & Frameworks -> Language Server Protocol -> Server Definitions
- Add a new server as a
Raw command
, select the required extension (in this exampleraml
), and insert the following command:java -jar /path/to/als-server.jar --systemStream
--systemStream parameter communicates using the standard input/output mechanism instead of sockets.