mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
TS source actions should not be blocked by pending action requests (#177737)
Fixes #164876
This commit is contained in:
@@ -219,10 +219,6 @@ class TypeScriptAutoFixProvider implements vscode.CodeActionProvider {
|
||||
}
|
||||
|
||||
const actions = this.getFixAllActions(context.only);
|
||||
if (this.client.bufferSyncSupport.hasPendingDiagnostics(document.uri)) {
|
||||
return actions;
|
||||
}
|
||||
|
||||
const diagnostics = this.diagnosticsManager.getDiagnostics(document.uri);
|
||||
if (!diagnostics.length) {
|
||||
// Actions are a no-op in this case but we still want to return them
|
||||
|
||||
Reference in New Issue
Block a user