提交 36ae7dde 编写于 作者: C Cyrus Najmabadi

Prioritize designer scanning for the current file.

上级 52a43efe
......@@ -108,7 +108,7 @@ private async Task StartAsync(CancellationToken cancellationToken)
private async Task StartWorkerAsync(CancellationToken cancellationToken)
{
_workQueue = new AsyncBatchingWorkQueue<DesignerAttributeData>(
TimeSpan.FromSeconds(1),
TimeSpan.FromMilliseconds(500),
this.NotifyProjectSystemAsync,
cancellationToken);
......
......@@ -33,7 +33,7 @@ public Task StartScanningForDesignerAttributesAsync(CancellationToken cancellati
analyzerProvider,
new IncrementalAnalyzerProviderMetadata(
nameof(RemoteDesignerAttributeIncrementalAnalyzerProvider),
highPriorityForActiveFile: false,
highPriorityForActiveFile: true,
workspaceKinds: WorkspaceKind.RemoteWorkspace));
return Task.CompletedTask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册