提交 2eac4af4 编写于 作者: H heejaechang

added fast lane for active file for solution crawler. currently only one that...

added fast lane for active file for solution crawler. currently only one that uses it is diagnostic service.

now, rather than 1.5 seconds, active file path uses 200ms delay (which should be same as dev12)

this could potentially affect typing responsiveness since we run analyzers on the active file more often than before but this is the only way to get faster update on active file.

also, now normal file path will stop running while active file one is running in solution crawler. (changeset 1367049)
上级 f8d703b6
......@@ -254,6 +254,8 @@ internal enum FunctionId
IncrementalAnalyzerProcessor_Analyzers,
IncrementalAnalyzerProcessor_Analyzer,
IncrementalAnalyzerProcessor_ActiveFileAnalyzers,
IncrementalAnalyzerProcessor_ActiveFileAnalyzer,
IncrementalAnalyzerProcessor_Shutdown,
WorkCoordinatorRegistrationService_Register,
......@@ -283,5 +285,6 @@ internal enum FunctionId
SolutionExplorer_AnalyzerItemSource_GetItems,
SolutionExplorer_DiagnosticItemSource_GetItems,
WorkCoordinator_ActivieFileEnqueue,
}
}
\ No newline at end of file
......@@ -79,6 +79,7 @@ private static bool GetDefaultValue(FunctionId id)
case FunctionId.WorkCoordinator_SemanticChange_EnqueueFromType:
case FunctionId.WorkCoordinator_SemanticChange_FullProjects:
case FunctionId.WorkCoordinator_Project_Enqueue:
case FunctionId.WorkCoordinator_ActivieFileEnqueue:
return false;
case FunctionId.Diagnostics_SyntaxDiagnostic:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册