vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Reintroduce or Replace `workbench.tree.horizontalScrolling` to Support Horizontal Scrolling in Explorer

Open gpressutto5 opened this issue 5 months ago • 2 comments

Many users (myself included) have looked for a way to enable horizontal scrolling in the Explorer view to handle long file names or deeply nested folders.

All existing search results (forums, GitHub issues, Stack Overflow, etc.) point to the workbench.tree.horizontalScrolling setting. However, this setting was deprecated and is no longer recognized by recent VS Code versions. This leads to confusion, as there's no clear alternative to achieve the same behavior.

Image

Why this matters:

  • Long file names are frequently truncated.
  • Tooltips are not an adequate solution when scanning multiple files quickly.
  • Widening the sidebar is not always practical, especially on smaller screens.

Request:

Please consider:

  • Reintroducing workbench.tree.horizontalScrolling or
  • Providing a new option to allow horizontal scrolling in tree views (like the Explorer).

This would greatly improve usability for developers dealing with long or nested file structures.

Image

gpressutto5 avatar Jul 14 '25 16:07 gpressutto5

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!

Awesome feature!

CasagrandeJulio avatar Dec 10 '25 17:12 CasagrandeJulio

Always wondered why that wasn't built in. Horizontal scrolling is very important in some languages and several config files.

ulisses177 avatar Dec 10 '25 17:12 ulisses177

: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!