Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
akhera99 committed Sep 19, 2024
1 parent 0e266c2 commit f65aa66
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,6 @@ protected override NullableFlowState GetNullabilityAnalysis(SemanticModel semant
return null;
}

//// Checks to see if there have been any files excluded at the workspace level
//// since the copilot service passes along symbol information.
//if (await copilotService.IsAnyExclusionAsync(cancellationToken).ConfigureAwait(false))
//{
// return null;
//}

if (document.GetLanguageService<ICopilotOptionsService>() is not { } service ||
!await service.IsOnTheFlyDocsOptionEnabledAsync().ConfigureAwait(false))
{
Expand Down Expand Up @@ -182,6 +175,7 @@ protected override NullableFlowState GetNullabilityAnalysis(SemanticModel semant
return null;
}

// Checks to see if any of the files containing the symbol are excluded.
var hasContentExcluded = false;
var symbolFilePaths = symbol.DeclaringSyntaxReferences.Select(reference => reference.SyntaxTree.FilePath);
foreach (var symbolFilePath in symbolFilePaths)
Expand Down

0 comments on commit f65aa66

Please sign in to comment.