microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.99k stars 29.19k forks source link

Rendering paused for long line for performance reasons. This can be configured via `editor.stopRenderingLineAfter`. #207365

Open RedCMD opened 7 months ago

RedCMD commented 7 months ago

When hovering over a very long line, a hover pops up saying:

Rendering paused for long line for performance reasons. This can be configured via editor.stopRenderingLineAfter.

image

The hover only pops up when Word Wrap is turned on (and even when the entire line is rendering correctly) ❌ but doesn't when Word Wrap is turned off (and the line stops rendering after 10,000 chars) ❌

image

I think the check for Word Wrap needs to be inverted

RedCMD commented 6 months ago

Modifying the hidden setting: editor.stopRenderingLineAfter only changes where the hover pops up (when word wrap is on)

I think the hover should only pop up when the end of line is in view Show more (88.4KB)