-
Notifications
You must be signed in to change notification settings - Fork 31k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long Text longer than 10000 letters wrapped with [...] #7772
Comments
This is a limitation (since 5+ years) of our not having horizontal virtualization (in the same way we have vertical virtualization). We don't have horizontal virtualization because we leave it up to the browser to run the font layouting. In other words:
|
It took me a hell of a lot of digging to find this post. Is there any chance of making the "hidden" setting |
Thanks Zooce, works even if editor tells you it can't recognize that setting. The more I use vscode, the more I find these limitations that just for a minute stops my day 👎 |
User story: I discovered this today when I wanted to delete a single character near the end of an extremely long line of text. I was initially confused when I hit the end key the screen didn't move but the cursor column number was really high. I found that I could toggle text wrap and then scroll way down instead. I did figure out how to work around it, but it could have been more intuitive. |
On version 1.41.1 you can set Editor: Word Wrap to on inside preferences/settings |
Same issue, stupidly long long of data from a generated script, >400k characters. |
I agree with @tyeth, this issue is too unexpected to be so hidden! |
this is annoying as hell and very bad UX |
Why is the over-limit warning coming up without doing anything? |
@ugurcok What do you mean "without doing anything?" Is your document empty? |
If the file doesn't just have very long lines, but also a ton of lines, word wrap is disabled and it becomes a dead end, unless I set |
Ran into this issue while embedding a long base64 string as a background image in a css file. Looks like syntax highlighting also disabled for that line too. The first few pastes of the base64 string completely didn't render (as in, vscode added the "..." and treated that as the text). |
Microsoft always comes with genius solution. |
This is annoying for me too, bumping for the sake of visibility / metrics (I think Microsoft weights how often an issue gets comments) This is not great UX and I suggest the following alternatives:
Word wrap is not a workaround
Preemptively responding to "your code should not be this long anyway"
This is not an unsolvable problem
|
It's amazing how this issue still hasn't been resolved, after over 10 years. At least implement a workaround that could enable users to edit the end of the line. |
How about letting us click the [...] to expand the full line? |
This also affects data pasted into the editor, like a base 64 encoded JWT I would need to use for some admin/maintenance scripts. if I copied an extra |
Copy Pasting JSONs is a trivial requirement. Why there are still arguments about this? (facepalm) |
How do I modify " |
is the content of mine. " @martin-braun, |
Steps to Reproduce:
Result - the 'End' key does nothing, while it rather has to go to the end of the trimmed/loaded part of the line.
All-in-all, I must say the approach to treating long lines is one of the worst shortcomming of VS Code (along with not being able to load big files at all). This approach makes the editor totally unusable for touching minified scripts and css for example, so I'd rather say you have to think of improving the performance and removing this serious limitation.
The text was updated successfully, but these errors were encountered: