Open Kortivex opened 4 months ago
@Kortivex, right... My goplsws
repo was a bit outdated, so I've updated it now. Also, I have written a small guide for using gopls with ace-linters. It should work now, but I can't promise it will work perfectly, especially since I don't have a good configuration for the Go server. In the future, I plan to provide a way to set normal paths for documents in linters itself, so it will work with any WebSocket server/bridge.
Thanks so much for your help, I will wait impatiently for the way to set normal paths for documents in linters.
Expected Behavior
We want to establish a new WebSocket connection to
gopls
with theace-linter
client.Actual Behavior
Establish the connection with the WebSocket using a custom implementation or
goplsws
and the session is wrongly established and the linting for example not work properly.Steps to Reproduce the Problem
Try to connect to
gopls
(WebSocket):export let servers: LanguageClientConfig[] = [ { module: () => import("ace-linters/build/language-client"), modes: "golang", type: "socket", socket: new WebSocket("ws://localhost:3030"), features: servFeatures, initializationOptions: {} }, ]
gopls
established.Specifications
Can be a misconfiguration or bad server connection establishment?