Skip to content

Commit

Permalink
Cleanup test command and fixAll action
Browse files Browse the repository at this point in the history
None were working.
  • Loading branch information
weirdan committed Aug 13, 2023
1 parent 626444d commit aa0b140
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
3 changes: 0 additions & 3 deletions src/Psalm/Internal/LanguageServer/LanguageServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,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.
Expand Down
19 changes: 0 additions & 19 deletions src/Psalm/Internal/LanguageServer/Server/TextDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit aa0b140

Please sign in to comment.