Related to #21564 and #30181 .
When we open a large file (or whose tokenization takes a long time), any feature that requires accurate token information runs model.forceTokenization and it blocks the UI, including
Paste/Enter/Type relies on indentation/enter rules, right now I skipped the smart features if the tokenization is not yet ready for selections. But speaking of suggestions, some suggestion provider (like snippet) requires language id at position, some (quickSuggestions) requires token info, these two force tokenization for selection, which would lead to UI blocking.
Enable quick suggestion and snippet (default)

Disable both of them by "editor.quickSuggestions": false, "editor.snippetSuggestions": "none"

Any component that requires token/language info can lead to the UI blocking when users open a large file and modify real quick. As we increase the file size limit for tokenization, this may happen more often. cc @alexandrudima @jrieken @ramya-rao-a
Related to #21564 and #30181 .
When we open a large file (or whose tokenization takes a long time), any feature that requires accurate token information runs
model.forceTokenizationand it blocks the UI, includingPaste/Enter/Type relies on indentation/enter rules, right now I skipped the smart features if the tokenization is not yet ready for selections. But speaking of suggestions, some suggestion provider (like snippet) requires language id at position, some (quickSuggestions) requires token info, these two force tokenization for selection, which would lead to UI blocking.
Enable quick suggestion and snippet (default)
Disable both of them by
"editor.quickSuggestions": false, "editor.snippetSuggestions": "none"Any component that requires token/language info can lead to the UI blocking when users open a large file and modify real quick. As we increase the file size limit for tokenization, this may happen more often. cc @alexandrudima @jrieken @ramya-rao-a