Skip to content

Batch onDidChangeTextDocument() events #230359

Closed
@RedCMD

Description

From the discussion at microsoft/vscode-discussions#1606

I would like to be able to query how many change events are queued up for onDidChangeTextDocument()
Then I can batch process parsing the document much more effectively

The recommended suggestion of using setTimeout() to debounce the input causes issues with symbol outline when autosave is turned off

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

*dev-questionVS Code Extension Development Question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions