Comments (3)
The API is fully symmetric. I.e. the code shown in
https://github.com/eclipse/lsp4j/tree/master/documentation
works for the client side as well. Of course you would use LSPLauncher#createClientLauncher instead of createServerLauncher
from lsp4j.
Maybe I didn't understand your question.
LSP4J will provide you with an instance of LanguageServer, that internally sends messages to the given input/output stream. How the client side is implemented and created is up to you.
from lsp4j.
Ok, so one has to create a custom instance of LanguageClient locally instead of using listeners, and then pass it to Launcher.createServerLauncher. I'll close the issue once I managed to get it working.
from lsp4j.
Related Issues (20)
- Build failing on `main` HOT 3
- ls4j as jar files HOT 2
- LSP4J 0.21.2
- Incorrect dependency in pom.xml for jakarta websocket HOT 1
- vtsls and typescript-language-server don't retrieve all references when trying to retrieve code references HOT 2
- Unable to identify the input message HOT 2
- ResponseErrorException is not propagated with the default exception handler HOT 3
- LSP4J 0.23.0 HOT 11
- Support for SnippetTextEdit HOT 4
- The problem of org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer HOT 5
- OOM when working with large files because of huge DocumentSymbols response HOT 10
- Why is `WorkspaceEditCapabilities`'s constructor setting `documentChanges` is deprecated? HOT 3
- Position's line and character fields should be long, not int HOT 6
- Provide FileOperationRegistrationOptions class HOT 4
- Add module-info to the modules HOT 2
- LSP4J 0.24.0
- Update Gson to accept wider version HOT 1
- LSP4J 0.23.1 HOT 3
- IDebugProtocolServer not using existing LaunchRequestArguments HOT 4
- Add `keepWhitespace` option to CompletionItem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp4j.