mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
language_server_protocol.md: fix EP snippet
This commit is contained in:
parent
c8358dbe43
commit
058b8df629
@ -173,7 +173,7 @@ As a reference, check out the [Prisma ORM](https://plugins.jetbrains.com/plugin/
|
||||
<procedure title="Minimal LSP Plugin Setup">
|
||||
|
||||
1. Implement `LspServerSupportProvider` and within the `LspServerSupportProvider.fileOpened()` method, spin up the relevant LSP server descriptor, which can decide if the given file is supported by using the `LspServerDescriptor.isSupportedFile()` check method.
|
||||
2. [Register](plugin_extensions.md#declaring-extensions) it as a `com.intellij.platform.lsp.serverSupportProvider` [Extension Point (EP)](plugin_extension_points.md):
|
||||
2. [Register](plugin_extensions.md#declaring-extensions) it in <include from="snippets.topic" element-id="ep"><var name="ep" value="com.intellij.platform.lsp.serverSupportProvider"/></include>.
|
||||
3. Tell how to start the server by implementing `LspServerDescriptor.createCommandLine()`.
|
||||
|
||||
```kotlin
|
||||
|
Loading…
x
Reference in New Issue
Block a user