Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for code action performance issue with pylint #457

Merged
merged 2 commits into from Nov 15, 2023

Conversation

karthiknadig
Copy link
Member

@karthiknadig karthiknadig commented Nov 15, 2023

potential fix for #454

The fix is to enable code action resolve. So, on code action request we only tell VS Code that there are code actions available (by setting edit to None). We don't calculate the edits needed during the code actions request. We do this later when the code action is applies using the code action resolve request.

@karthiknadig karthiknadig self-assigned this Nov 15, 2023
@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Nov 15, 2023
@karthiknadig karthiknadig reopened this Nov 15, 2023
@karthiknadig karthiknadig marked this pull request as ready for review November 15, 2023 18:12
@karthiknadig karthiknadig merged commit f869c86 into microsoft:main Nov 15, 2023
20 checks passed
@karthiknadig karthiknadig deleted the perf1 branch November 15, 2023 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants