vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Resizable "Opened Editors"

Open h2u opened this issue 11 years ago • 14 comments

Please, add ability to resize (vertically) "working files" area.

h2u avatar Nov 23 '15 12:11 h2u

@bpasero Are you working on this issue meow?

martellaj avatar Apr 01 '16 04:04 martellaj

No, we just decided to give issues an owner.

This issue is currently assigned to the backlog. Every sprint we pick items from the backlog to plan for the current iteration. Please see https://github.com/Microsoft/vscode/wiki/Issue-Tracking#planning

bpasero avatar Apr 01 '16 05:04 bpasero

I started to look at this one (because it's something I really wanted), but found there is a setting ("explorer.workingFiles.maxVisible": 50) that handles it perfectly. Personally, I don't think this feature should be implemented.

martellaj avatar Apr 01 '16 06:04 martellaj

I'd either like it to be resizable with the mouse or a corresponding "explorer.workingFiles.minVisible" get added. So, for example, I could set "explorer.workingFiles.dynamicHeight" to true, minVisible to 10, maxVisible to 20.

  • From 0-10 files, I'd have buffer (empty space) between working files and the folder explorer
  • From 11-20 files, it'd dynamically grow
  • At 20+ files, I'd see a scrollbar

OlsonDev avatar Apr 07 '16 00:04 OlsonDev

I don't understand the need to have a "explorer.workingFiles.minVisible". What advantage of having a buffer between working files and the folder explorer? That scenario essentially exists already (other than having the buffer, which like you said, is just adding empty, unusable space into the sidebar).

I could see why people want a resizable working files, but I think the current implementation satisfies the need. I'd almost bet that when @h2u created the issue that they didn't know about the "explorer.workingFiles.maxVisible" setting.

EDIT: Just to be clear since my opinion isn't supporting this issue that even though GitHub calls me out as a Microsoft member, I do not work on VS Code other than as an open source project.

martellaj avatar Apr 07 '16 13:04 martellaj

What advantage of having a buffer between working files and the folder explorer?

I see two advantages. It reduces clutter and thus cognitive load. It improves muscle memory: if I know file X isn't open but is roughly Y pixels down the list, I can open it faster. With the buffer, its location doesn't change (often). Sure, I could use Ctrl+P but I might also know my current ignore settings won't find it, or there are many similarly named files so I'll have to filter through stuff. If we had tabs, this wouldn't be an issue for me: there'd be less clutter and my project files wouldn't be constantly moving on me.

OlsonDev avatar Apr 07 '16 14:04 OlsonDev

@bpasero is this going to be implemented any soon? Now the "Opened Editors" area takes about 20% of vertical space while the project tree beneath it takes the rest 80%. I intuitively tried to "click and drag to resize" but for some reason it doesn't work.

aidanxyz avatar Jul 13 '16 14:07 aidanxyz

@acutexyz the new owner of this feature is @isidorn

bpasero avatar Jul 13 '16 14:07 bpasero

@acutexyz not planned to be implemented soon (there is 'explorer.openEditors.visible' as a somewhat of a workaround in the meantime)

isidorn avatar Jul 19 '16 08:07 isidorn

+1

mugi-luffy avatar Nov 10 '16 09:11 mugi-luffy

For me, when I close (minimize) the Folder Explorer and Gitlens Explorer, I'd just wish they floated to the bottom and let that naturally open up all the available room for the Open Editors explorer. Right now, I just see a bunch of empty space below the last closed explorer and the bottom of my screen, and the Open Editors explorer is a tiny window over a small number of files and I'm forced to scroll a large list of open files through this small view.

shaun-cox avatar Oct 12 '17 15:10 shaun-cox

This open editors area is a great idea. I hope you guys take it a step further and make it easily resizable. There was a suggestion that "explorer.openEditors.visible" was enough. The trouble with this is that it applies to all projects and instances of vscode. I always have more than one instance of vscode running with different number of files open in each. It would just be great if I could adjust the size of this area and the Folder area as I wish, without having to always scroll one of them in instances of vscode.

hbdevelop1 avatar Oct 15 '17 08:10 hbdevelop1

Yes I really miss this feature, having to scroll up and down all the time affects my focus needed elsewhere.

petval avatar Nov 28 '17 10:11 petval

Fixed by @ironyman in https://github.com/Microsoft/vscode/issues/491

isidorn avatar Dec 12 '17 15:12 isidorn