diff --git a/src/Psalm/Internal/LanguageServer/LanguageServer.php b/src/Psalm/Internal/LanguageServer/LanguageServer.php index cc358753644..ed6b879dcbe 100644 --- a/src/Psalm/Internal/LanguageServer/LanguageServer.php +++ b/src/Psalm/Internal/LanguageServer/LanguageServer.php @@ -23,7 +23,6 @@ use LanguageServerProtocol\CompletionOptions; use LanguageServerProtocol\Diagnostic; use LanguageServerProtocol\DiagnosticSeverity; -use LanguageServerProtocol\ExecuteCommandOptions; use LanguageServerProtocol\InitializeResult; use LanguageServerProtocol\InitializeResultServerInfo; use LanguageServerProtocol\LogMessage; @@ -446,9 +445,6 @@ function () use ($workDoneToken) { $serverCapabilities = new ServerCapabilities(); - //The server provides execute command support. - $serverCapabilities->executeCommandProvider = new ExecuteCommandOptions(['test']); - $textDocumentSyncOptions = new TextDocumentSyncOptions(); //Open and close notifications are sent to the server. diff --git a/src/Psalm/Internal/LanguageServer/Server/TextDocument.php b/src/Psalm/Internal/LanguageServer/Server/TextDocument.php index 508af5aeb9f..cb359d5b9fe 100644 --- a/src/Psalm/Internal/LanguageServer/Server/TextDocument.php +++ b/src/Psalm/Internal/LanguageServer/Server/TextDocument.php @@ -455,25 +455,6 @@ public function codeAction(TextDocumentIdentifier $textDocument, CodeActionConte ], ]), ); - - /* - $fixers["fixAll.{$diagnostic->data->type}"] = new CodeAction( - "FixAll {$diagnostic->data->type} for this file", - CodeActionKind::QUICK_FIX, - null, - null, - null, - null, - new Command( - "Fix All", - "psalm.fixall", - [ - 'uri' => $textDocument->uri, - 'type' => $diagnostic->data->type - ] - ) - ); - */ } if (empty($fixers)) {