mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
language_server_protocol.md: Status Bar Integration
This commit is contained in:
parent
01658d9c3f
commit
ef342fa2b1
@ -18,6 +18,9 @@ _Early Access Program_ (EAP) releases of upcoming versions are available [here](
|
||||
|
||||
### IntelliJ Platform 2024.1
|
||||
|
||||
Status bar widget for LSP servers
|
||||
: Language plugins using LSP can now provide their status for [](language_server_protocol.md#status-bar-integration).
|
||||
|
||||
### IntelliJ IDEA 2024.1
|
||||
|
||||
Unbundled plugins
|
||||
|
@ -114,6 +114,14 @@ private class FooLspServerDescriptor(project: Project) : ProjectWideLspServerDes
|
||||
|
||||
</procedure>
|
||||
|
||||
### Status Bar Integration
|
||||
|
||||
Since 2024.1, a dedicated <control>Language Services</control> status bar widget is available to monitor the status of all LSP servers.
|
||||
Override `LspServerSupportProvider.createLspServerWidgetItem()` to provide a custom icon and link to [Settings](settings.md) page (if available).
|
||||
|
||||
If there are configuration problems preventing from starting an LSP server, the plugin can provide a widget item
|
||||
with an error and give the user a hint how to fix the problem.
|
||||
|
||||
## Language Server Integration
|
||||
|
||||
Language Server is a separate process that analyzes source code and provides language-specific features to development tools.
|
||||
|
Loading…
x
Reference in New Issue
Block a user