-
-
Notifications
You must be signed in to change notification settings - Fork 154
LSP: Crashing on "unrecognized/unsupported" #1951
Description
I'm working on integrating Phpactor with BBEdit via LSP (taking notes for a PR!). I'm running into an issue where the IDE does not support a feature is causing phpactor to crash:
2022-11-14 10:36:57.730: _ProcessLSPServerRequest: unrecognized/unsupported: {
id = "61974118-51de-49c2-89d5-aee7dbcde69e";
jsonrpc = "2.0";
method = "window/workDoneProgress/create";
params = {
token = "4b03225f-a5de-44f7-b390-7fbe625842f3";
};
}
2022-11-14 10:36:57.763: The language server for PHP in HTML has unexpectedly terminated: {
method = "bbedit/serverTaskDidTerminate";
taskStatus = 255;
taskStderr = "<no data>";
}I contacted BBEdit and the author states:
The "unrecognized/unsupported " message from BBEdit means merely that it got a request from the server that it didn't understand. In that case it will return a specific method not found LSP response. If the language server crashes because of that, the server needs to be fixed; so I recommend you file a bug with the server developer about it.
It seems like method not found should be an acceptable response to the server?
Phpactor version: 2022.10.11@03b00d8176a331323b5a85c48f370a59eb316d9c
PHP version: PHP 8.0.25 (Xdebug v3.1.5)
BBEdit version: 14.6.1 (14D24, Apple Silicon, sandboxed)