This project is a sample LSP-based plugin for IntelliJ IDEA.
- IntelliJ IDEA Ultimate or WebStorm
- Node.js in PATH
To clone this project, install dependencies, and start an instance of IntelliJ IDEA with the plugin installed, run the following commands:
git clone https://github.com/tim-sh/intellij-sample-lsp-plugin.git
cd intellij-sample-lsp-plugin/lsp-server
npm install
cd ..
./gradlew runIde
- Open a new project in the IDE
- Create a new file with the extension
.txt
- Type
hello world
or any other text in the file - The first 5 characters should be marked with a
SAMPLE
warning
The LSP server logs information on the communication with the client to a file server.log
in the lsp-server
directory.