mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #10108 from weirdan/lsp-cleanup-test-command
This commit is contained in:
commit
84bbf2bd90
@ -23,7 +23,6 @@ use LanguageServerProtocol\CodeDescription;
|
||||
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 @@ class LanguageServer extends Dispatcher
|
||||
|
||||
$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.
|
||||
|
@ -455,25 +455,6 @@ class TextDocument
|
||||
],
|
||||
]),
|
||||
);
|
||||
|
||||
/*
|
||||
$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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user