Understanding Ace-Linters for LSP Event retrieval & sending raw events #191
-
|
I'm trying to create an LSP Plugin API built around Ace-linters for Acode Editor, with the ability to send raw requests and listen to LSP Events, as well as other common LSP actions. Here's some initial code I'd like any help given, as I felt overwhelmed looking at AceLanguageClient, ServiceManager, and LanguageProvider. goals
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Not sure, which help do you need, the discussion feels a bit abstract to me. But here some insights: Key Components:
For raw requests (those which not implemented inside client) -> You could use it with any websocket-based lsp-server, it doesn't matter a lot |
Beta Was this translation helpful? Give feedback.
Not sure, which help do you need, the discussion feels a bit abstract to me. But here some insights:
Key Components:
AceLanguageClient- Factory class that creates LanguageProvider instancesServiceManager- Manages multiple LSP services, handles message routingLanguageProvider- Main interface for Ace editor integrationLanguageClient- Handles individual LSP connections (WebSocket/WebWorker)For raw requests (those which not implemented inside client) ->
LanguageProvider.sendRequestshould make itYou could use it with any websocket-based lsp-server, it doesn't matter a lot