Skip to content

Improve performance of fix all that only changes syntax #79108

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

Merged
merged 50 commits into from
Jun 24, 2025

Conversation

CyrusNajmabadi
Copy link
Member

No description provided.

@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review June 23, 2025 19:04
@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner June 23, 2025 19:04
@CyrusNajmabadi
Copy link
Member Author

Noticed this while running my new fixer.

newSolution = await fixMultipleCodeAction.GetChangedSolutionInternalAsync(
fixAllState.Solution, progress, postProcessChanges: false, cancellationToken).ConfigureAwait(false);
fixAllState.Solution, progress, cancellationToken).ConfigureAwait(false);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this logic moved into FixMultipleCodeAction

@CyrusNajmabadi CyrusNajmabadi marked this pull request as ready for review June 23, 2025 21:17
@CyrusNajmabadi CyrusNajmabadi requested review from a team as code owners June 23, 2025 21:59
@CyrusNajmabadi
Copy link
Member Author

@dotnet/roslyn-ide ptal.

@CyrusNajmabadi
Copy link
Member Author

@ToddGrun ptal.

Task<CodeAction?> GetFixAsync(IFixAllContext fixAllContext);

/// <summary>
/// The sort of cleanup that should automatically be poerformed for this fix all provider. By default this is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// The sort of cleanup that should automatically be poerformed for this fix all provider. By default this is
/// The sort of cleanup that should automatically be performed for this fix all provider. By default this is

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can fixup later :)

@CyrusNajmabadi CyrusNajmabadi merged commit dad454b into dotnet:main Jun 24, 2025
25 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the refactoringPerf branch June 24, 2025 00:29
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants