未验证 提交 15e2ce22 编写于 作者: H Heejae Chang 提交者: GitHub

make solution crawler to handle removed document as high priority. (#32777)

this will make clean up to happen faster. this is following existing pattern of remove things faster and show up things slower pattern we have been using on squiggles.

impact on user expierence will be like errors from error list or todo comments on todo list goes away faster when document is removed or project is removed from solution.

mitigating https://github.com/dotnet/roslyn/issues/30577
上级 5d717b5e
......@@ -18,7 +18,8 @@ internal partial struct InvocationReasons
ImmutableHashSet.Create<string>(
PredefinedInvocationReasons.DocumentRemoved,
PredefinedInvocationReasons.SyntaxChanged,
PredefinedInvocationReasons.SemanticChanged));
PredefinedInvocationReasons.SemanticChanged,
PredefinedInvocationReasons.HighPriority));
public static readonly InvocationReasons ProjectParseOptionChanged =
new InvocationReasons(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册