Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update semantic token refresh queue. #72402

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

CyrusNajmabadi
Copy link
Member

See #72384 for explanation of why the "compilation available" part of this subsystem was unnecessary. THe last PR removed it from tagging, this PR removes all the subcomponents (including from LSP).

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 5, 2024 18:39
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 5, 2024
_semanticTokenRefreshQueue = new AsyncBatchingWorkQueue<Uri?>(
delay: TimeSpan.FromMilliseconds(2000),
processBatchAsync: (documentUris, cancellationToken)
=> FilterLspTrackedDocumentsAsync(_lspWorkspaceManager, _notificationManager, documentUris, cancellationToken),
processBatchAsync: FilterLspTrackedDocumentsAsync,
equalityComparer: EqualityComparer<Uri?>.Default,
asyncListener: _asyncListener,
_disposalTokenSource.Token);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i had missed the event registration 2 lines below this. so we still def want to keep thsi queue.

@CyrusNajmabadi
Copy link
Member Author

@davidwengier ptal.

@CyrusNajmabadi CyrusNajmabadi enabled auto-merge March 5, 2024 22:55
@CyrusNajmabadi CyrusNajmabadi merged commit dcb045d into dotnet:main Mar 6, 2024
27 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the lspCompilation branch March 6, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants