Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed May 21, 2024
1 parent f3c2f0c commit 8f01700
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -669,25 +669,17 @@ await _projectSystemProjectFactory.ApplyBatchChangeToWorkspaceMaybeAsync(useAsyn
}).ConfigureAwait(false);

foreach (var (documentId, textContainer) in documentsToOpen)
{
await _projectSystemProjectFactory.ApplyChangeToWorkspaceMaybeAsync(useAsync, w => w.OnDocumentOpened(documentId, textContainer)).ConfigureAwait(false);
}

foreach (var (documentId, textContainer) in additionalDocumentsToOpen)
{
await _projectSystemProjectFactory.ApplyChangeToWorkspaceMaybeAsync(useAsync, w => w.OnAdditionalDocumentOpened(documentId, textContainer)).ConfigureAwait(false);
}

foreach (var (documentId, textContainer) in analyzerConfigDocumentsToOpen)
{
await _projectSystemProjectFactory.ApplyChangeToWorkspaceMaybeAsync(useAsync, w => w.OnAnalyzerConfigDocumentOpened(documentId, textContainer)).ConfigureAwait(false);
}

// Give the host the opportunity to check if those files are open
if (documentFileNamesAdded.Count > 0)
{
await _projectSystemProjectFactory.RaiseOnDocumentsAddedMaybeAsync(useAsync, documentFileNamesAdded.ToImmutable()).ConfigureAwait(false);
}

// If we added or removed analyzers, then re-run all generators to bring them up to date.
if (hasAnalyzerChanges)
Expand Down

0 comments on commit 8f01700

Please sign in to comment.