spyder icon indicating copy to clipboard operation
spyder copied to clipboard

Add a vertical collection of widgets to easily select the Project and Outline explorers

Open goanpeca opened this issue 9 years ago • 15 comments

Spyder should include the outline explorer pane by default on restart and perhaps it should go in the left, instead of the right, as many other IDEs are doing!

goanpeca avatar Jul 17 '15 19:07 goanpeca

:+1:

Nodd avatar Sep 30 '15 12:09 Nodd

I do not understand what needs to be done to solve this issue. @goanpeca or @ccordoba12 please explain and I'll try to implement it.

jnsebgosselin avatar Oct 03 '18 19:10 jnsebgosselin

@jnsebgosselin, this is what @goanpeca and me would like to see

seleccion_016

Documentos (Documents in Spanish) roughly correspond to our Outline Explorer and Proyectos (Projects) to our Projects pane. We think this will give much more visibility to these plugins (especially the Outline Explorer) and it'll make us closer to other IDEs and also JupyterLab.

ccordoba12 avatar Oct 03 '18 20:10 ccordoba12

@ccordoba12 hmm, interesting. In fact, this is exactly the setup I'm using.

So if I understand correctly, to fix this issue we need to make changes to the Spyder Default Layer in the Windows Layer to have this setup by default when opening Spyder for the first time? Or is there more that needs to be done?

image

jnsebgosselin avatar Oct 03 '18 20:10 jnsebgosselin

Or maybe what you are suggesting is to have a permanent vertical toolbar where a set of predefined panes can be selected (in this case the Outline Explorer and Project Explorer), like in LibreOffice Writer?

libre_office_vert_collection

jnsebgosselin avatar Oct 03 '18 20:10 jnsebgosselin

Or maybe what you are suggesting is to have a permanent vertical toolbar where a set of predefined panes can be selected

Yes, that's exactly what I'm suggesting.

ccordoba12 avatar Oct 03 '18 20:10 ccordoba12

Ok, I understand.

So if we implement that, would the Outline Explorer and Project Explorer still be available as dock widget ?

jnsebgosselin avatar Oct 03 '18 22:10 jnsebgosselin

No, but I think that's fine.

ccordoba12 avatar Oct 03 '18 23:10 ccordoba12

Yes I agree with you

jnsebgosselin avatar Oct 03 '18 23:10 jnsebgosselin

Great! The thing is they make sense when shown next to the Editor (as with other IDEs).

ccordoba12 avatar Oct 03 '18 23:10 ccordoba12

Thought one

Think file explorer with only a names column could work over there as well: image

Thought 2

I think the side tabs will leave a lot of wasted space for two or three tabs. There is only so much horizontal space in such a narrow section to show extended trees and long names. Three tabs at the top or bottom simply named (Projects, Outline, Files) could work.

bcolsen avatar Oct 05 '18 04:10 bcolsen

I agree with your thought one but I don't understand your thought two.

ccordoba12 avatar Oct 05 '18 13:10 ccordoba12

but I don't understand your thought two.

Here's a mockup. The wasted space is in pink

sypyder side bar

Most editors have a side bar and some have tabs on the side, but most editors(and LibreOffice) also have lots of horizontal space because they only have the side bar and the editor. Spyder is running out of horizontal space with the console and variable explorer also taking horizontal space.

I think that the side tabs are great for discoverability and the the current tabs on the bottom are not very discoverable (I feel this is true for all the panels in spyder). Rstudio and other IDEs have panel tabs at the top of the section which is more discoverable and more common.

bcolsen avatar Oct 05 '18 21:10 bcolsen

Spyder is running out of horizontal space with the console and variable explorer also taking horizontal space.

So you're suggesting that we use a vertical tabbar, right? Because that's what's proposed here. We could use the wasted space for future plugins (like a Git one).

Rstudio and other IDEs have panel tabs at the top of the section which is more discoverable and more common

This should be doable in Qt (I guess).

ccordoba12 avatar Oct 05 '18 22:10 ccordoba12

So you're suggesting that we use a vertical tabbar, right? Because that's what's proposed here. We could use the wasted space for future plugins (like a Git one).

I'm suggesting to use tabs on top of all the panels including the side bar, because vertical tabs have lots of wasted space on very long narrow panels.

On the other hand if we think we can fill this space with lots of new interesting widgets then I'm in. We could throw "find in files" over there too

bcolsen avatar Oct 05 '18 22:10 bcolsen