This is a IntelliJ Plugin which supports the language server protocol. It is made for the MagpieBridge framework.
- publishDiagnostics:
- Diagnositcs are listed in a seperate Tool Window at the bottom of the IDE.
- The issued code is underlined.
- Hovering over the issued code dispalys the warning message and related information.
- Related information with code locations can be directly navigated on clicking
- Code Actions
- Hover
- ShowMessage
- ShowMessageRequest
- ShowHTML (not in LSP): this feature display a HTML page from the language server in a Tool Window at the bottom of the IDE.
- Standard I/O
- Sockets
- Download MagpieBridgeLSPSupport-1.1.zip from the release page.
- Choose
IntelliJ >> Settings >> Plugins >> SettingsIcon >> Install Plugin from Disk...
and SelectMagpieBridgeLSPSupport.zip
. - Restart IntelliJ.
- Choose
IntelliJ >> Settings >> Other Settings >> MagpieBridge LSP Configuration.
- Currenlty it only supports to use Java to run a language server. The following screenshot shows the configuration to run the server
inferIDE-0.0.1.jar
with Java 8.
JVM path
: path to the Java virtual machinePATH Variable
: your system environment variablePATH
, it is important to set if the language server runs another program which ought to be found inPATH
.Jar file path
: path to your language server jar fileProgram arguments
: arguements for your language server.Working directory (optional)
: directory where the server should observe. If not set, the default is the root path of the current opening project in the IDE.
To build/run the Project from source, import it as a gradle Project into IntelliJ.
To run the plugin from Source, run Gradle >> Tasks >> intelliJ >> runIde
.
To build the plugin artifact, run Gradle >> Tasks >> intelliJ >> buildPlugin
.
✉ linghui[at]outlook.de