Skip to content

Conversation

@hediet
Copy link
Member

@hediet hediet commented Feb 14, 2023

I recommend VS Code to review the diff.

@alexdima It would be awesome if you could carefully review this change.

The textmate tokenization feature that builds on this refactoring doesn't need a very careful review, as we can add an experimental setting (default false) for that.

@hediet hediet requested a review from alexdima February 14, 2023 16:03
@vscodenpa vscodenpa added this to the February 2023 milestone Feb 14, 2023
@hediet hediet mentioned this pull request Feb 15, 2023
1 task
alexdima
alexdima previously approved these changes Feb 15, 2023
Copy link
Member

@alexdima alexdima left a comment

Choose a reason for hiding this comment

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

👍 LGTM. I left comments for some small things.

this._semanticTokens.flush();
}

// TODO@hediet TODO@alexdima what is the difference between this and acceptEdit?
Copy link
Member

Choose a reason for hiding this comment

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

👍 I agree that they should be merged, right now acceptEdit only updates tokens and handleDidChangeContent only updates states. Maybe in a separate cleanup PR

@hediet hediet enabled auto-merge February 15, 2023 14:02
@hediet hediet merged commit 8066a8c into main Feb 15, 2023
@hediet hediet deleted the hediet/async-tokenization branch February 15, 2023 14:14
c-claeys pushed a commit to c-claeys/vscode that referenced this pull request Feb 16, 2023
…ization

Refactors tokenization to support custom background tokenizer.
@github-actions github-actions bot locked and limited conversation to collaborators Apr 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants