Registry / other / org-eclipse-lsp4j

org-eclipse-lsp4j

JSON →
library1.0.0javamavenunverified

Java bindings for the Language Server Protocol, enabling implementation of LSP servers and clients in Java.

<dependency> <groupId>org.eclipse.lsp4j</groupId> <artifactId>org.eclipse.lsp4j</artifactId> <version>1.0.0</version> </dependency>
INSTALL
IMPORT
SIG · ORG-ECLIPSE-LSP4J
O
org-eclipse-lsp4j
otherjavav1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LanguageServer
org.eclipse.lsp4j.services.LanguageServer

Minimal LSP server implementation skeleton

import org.eclipse.lsp4j.services.LanguageServer; import org.eclipse.lsp4j.services.TextDocumentService; import org.eclipse.lsp4j.services.WorkspaceService; import org.eclipse.lsp4j.InitializeParams; import org.eclipse.lsp4j.InitializeResult; import java.util.concurrent.CompletableFuture; public class MyLanguageServer implements LanguageServer { private TextDocumentService textService; private WorkspaceService workspaceService; @Override public CompletableFuture<InitializeResult> initialize(InitializeParams params) { return CompletableFuture.completedFuture(new InitializeResult()); } @Override public TextDocumentService getTextDocumentService() { return textService; } @Override public WorkspaceService getWorkspaceService() { return workspaceService; } @Override public void exit() {} }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
org-eclipse-lsp4j — mvn dependency:get org-eclipse-lsp4j · libregistry