Skip to content

Commit

Permalink
wait?
Browse files Browse the repository at this point in the history
  • Loading branch information
dibarbet committed Oct 30, 2024
1 parent 5f3a610 commit d7ff80d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ async function getCodeActions(
): Promise<vscode.CodeAction[]> {
const uri = vscode.window.activeTextEditor!.document.uri;
console.log(`Getting actions for ${uri.toString()}`);
await new Promise((r) => setTimeout(r, 5000));
const codeActions = await vscode.commands.executeCommand<vscode.CodeAction[]>(
'vscode.executeCodeActionProvider',
uri,
Expand Down

0 comments on commit d7ff80d

Please sign in to comment.