zed icon indicating copy to clipboard operation
zed copied to clipboard

Add a vertical scroll bar to project panel

Open WindSoilder opened this issue 2 years ago • 3 comments

Check for existing issues

  • [X] Completed

Describe the feature

HI, I found that zed doesn't have a scroll bar in project panel, when I have a project with large source file tree, it's too slow to navigate to other directory quickly if I don't have scroll bar. If I have a scroll bar, I can drag it to the position I want quickly.

图片

I think it's good to have a scroll bar for large projects, or have a short-cut to fold directories in explorer

If applicable, add mockups / screenshots to help present your vision of the feature

Here is how vscode doing: 图片

when I focus on Explorer, it shows scroll bar, but if I don't, the scroll bar disappeared.

WindSoilder avatar Mar 28 '23 02:03 WindSoilder

The project panel is pretty much unusable if you accidently open node_modules folder in a js project.

kumomiX avatar Apr 03 '23 09:04 kumomiX

Doesn't even have to be a generated directory, opening e.g. lib/CL of https://github.com/pocl/pocl/ already leads to an eternity of scrolling when using a mouse with a simple scrolling wheel.

jansol avatar Feb 27 '24 15:02 jansol

Also, please Add a scroll bar to bottom dock(usually be a terminal window). when I output too many information in the terminal, It is hard to scroll.

jiangjie217527 avatar May 18 '24 07:05 jiangjie217527

@kumomiX same issue here a workaround is to select any file or folder in the node_modules then press the left arrow multiple times until the node_modules folder is closed

Does each window require its own scrollbar logic? because seeing so many scrollable windows without a scrollbar leads me to think it's a lot of work to implement. I'll take a look at the code and try to figure it out.

clicktodev avatar May 26 '24 11:05 clicktodev