microsoft / microsoft/vscode

File names get cut off at the left edge when horizontal scroll is enabled

Open
#332,523 0 comments 0 reactions 1 assignee Claimed by @benibenj View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.134.0
OS Version: Sonoma 14.0 (23A344)

Steps to reproduce:

1. Enable horizontal scrolling in the Explorer.
2. Select a directory with deep nesting or long file names so that a horizontal scrollbar appears.
3. Scroll the Explorer tree all the way to the left (to the very beginning of the tree).

Actual result:

The leftmost part of the file or folder name is cut off by the scrollbar or the pane edge. The text goes right up to the scrollbar with no visible margin, so part of the name is hidden.

Image

Expected result:

There should be a small padding (indent) between the file name and the left edge of the scrollbar, so that the full name remains readable even when scrolled to the extreme left.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.