Open aarondill opened 1 year ago
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
@alexdima I think this is a bug, not a feature request
I understand your expectation and I acknowledge it, but the current implementation is to:
The reason for this implementation is that lines are virtualised. We don't implement text layouting and font rendering ourselves in the editor, but we delegate that to the browser. So we actually don't know the width of all the lines in the file, we only know the width of the lines which are rendered / visible at a particular time. That is why I've classified this as a feature request, the current (very fast) implementation does its job as designed. It is a technical limitation, but one which comes with a lot of perf advantages, that the scroll width is always growing and not reflecting 100% correctly the max line width.
:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Does this issue occur when all extensions are disabled?: Yes
VSCode Version: 1.74.1 OS: Linux x64 5.10.147-20158-g0a75306e5639
Steps to Reproduce:
// A short comment <above line but about 30 more times>