提交 e371ee4b 编写于 作者: C Cyrus Najmabadi

improve docs.

上级 a7e73917
......@@ -113,14 +113,13 @@ private async Task SearchProjectsInPriorityOrder(IDocumentTrackingService docTra
var visibleDocsFromProject = visibleDocs.Where(d => d.Project == activeProject);
var priorityDocs = ImmutableArray.Create(activeDocOpt).AddRange(visibleDocsFromProject);
// Search the current project first. That way we can deliver
// results that are closer in scope to the user quicker without
// forcing them to do something like NavToInCurrentDoc
// Search the active project first. That way we can deliver results that are
// closer in scope to the user quicker without forcing them to do something like
// NavToInCurrentDoc
await Task.Run(() => SearchAsync(activeProject, priorityDocs), _cancellationToken).ConfigureAwait(false);
}
// Now, process all visible docs that were not processed in the project for the
// active doc.
// Now, process all visible docs that were not from the active project.
var tasks = new List<Task>();
foreach (var group in visibleDocs.GroupBy(d => d.Project))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册