## Unable to Retrieve Available Code Actions - Cancellation Error #1
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
When attempting to retrieve available code actions using the vscode.executeCodeActionProvider command, the operation is getting canceled, resulting in an error.
Steps to Reproduce
Expected Behavior
The executeCodeActionProvider command should return the available code actions without cancellation errors.
Actual Behavior
The operation is canceled, and an error is encountered.
Workaround
Wrapping the code in a setTimeout of 5 seconds seems to be a workaround that allows the operation to complete successfully:
Environment
Visual Studio Code Version: 1.86.2
Operating System: [Windows 10]
The text was updated successfully, but these errors were encountered: