'Tokenization is skipped for lines longer than 20k characters for performance reasons ' showing when auto-suggest box shows #55212
Labels
editor-hover
Editor mouse hover
tokenization
Text tokenization
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Steps to Reproduce:
Import a JSON with loads of keys (the JSON is not minified and is beautified), and have a method require a parameter that uses
keyof typeof
on that imported JSON object. Effectively, it becomes a large amount of string values all joined by the OR operator.Hold CMD over a call on that method, which brings up the more info tooltip.
'Tokenization is skipped for lines longer than 20k characters for performance reasons' shows in a warning tooltip.
I shouldn't have to see that.
SOLUTION: truncate the grey information text to an amount of characters below 20k.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: