Skip to content

Port CSharpCodeActions and CSharpFindReferences to the new test harness#58037

Merged
sharwell merged 13 commits intodotnet:mainfrom
sharwell:vs-extension-testing-2
Jan 20, 2022
Merged

Port CSharpCodeActions and CSharpFindReferences to the new test harness#58037
sharwell merged 13 commits intodotnet:mainfrom
sharwell:vs-extension-testing-2

Conversation

@sharwell
Copy link
Copy Markdown
Contributor

No description provided.

@ghost ghost added the Area-IDE label Nov 30, 2021
if (!RoslynString.IsNullOrEmpty(applyFix))
{
var codeActionLogger = new CodeActionLogger();
using var loggerRestorer = WithLogger(AggregateLogger.AddOrReplace(codeActionLogger, Logger.GetLogger(), logger => logger is CodeActionLogger));
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mavasani WithWorkspaceChangedHandler and WithLogger are much more difficult to implement in the old test harness. These handlers should provide much better data about operations that lead to code action application failure.

@sharwell sharwell force-pushed the vs-extension-testing-2 branch from 6289a26 to e0233ed Compare December 7, 2021 01:58
@sharwell sharwell force-pushed the vs-extension-testing-2 branch from e0233ed to 22d5f34 Compare December 7, 2021 17:20
@sharwell sharwell marked this pull request as ready for review December 9, 2021 19:31
@sharwell sharwell requested review from a team as code owners December 9, 2021 19:31
@sharwell sharwell merged commit c9c4fd2 into dotnet:main Jan 20, 2022
@sharwell sharwell deleted the vs-extension-testing-2 branch January 20, 2022 15:54
@ghost ghost added this to the Next milestone Jan 20, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P1 Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants