thegooglecodearchive / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 1 forks source link

Editra for PyStudio - context menu option to hide/show tab for all notebooks with one tab #178

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When a breakpoint is hit it would be very nice if the Shelf comes to the front 
and/or have a sound to "announce" that the program is stopped at a breakpoint.

Original issue reported on code.google.com by wbru...@gmail.com on 1 Jun 2011 at 8:01

GoogleCodeExporter commented 9 years ago
pyShell v 0.8 from SVN on Ubuntu 10.10

Original comment by wbru...@gmail.com on 1 Jun 2011 at 8:07

GoogleCodeExporter commented 9 years ago
Do you mean that you would like specifically the breakpoints shelf to come to 
the front?

Original comment by rans1...@gmail.com on 5 Jun 2011 at 3:36

GoogleCodeExporter commented 9 years ago
Yes

Original comment by wbru...@gmail.com on 5 Jun 2011 at 6:12

GoogleCodeExporter commented 9 years ago
I had a look at this and I think the breakpoints shelf coming to the front 
every time a breakpoint is hit would make some things quite troublesome eg. say 
you were debugging a loop and watching an expression change in the expressions 
shelf, you would have to keep clicking on the expressions shelf as the 
breakpoints shelf would keep coming to the front.

A sound seems feasible though and I've asked Cody about what we could do.

Original comment by rans1...@gmail.com on 8 Jun 2011 at 7:56

GoogleCodeExporter commented 9 years ago
A sound would already be very good.

With regards to debugging a loop you would still need to get to the 
Shelf and click on "Run" to continue or one of the "Step" options, you 
might also want to look at an expression in PyExpression Shelf tab.

So, I still think it would be good if the Shelf comes back to the 
front.  I would probably have the different "debug" type tabs laid out 
so I can see them all (that was the reason/idea to have multiple Shelfs 
as requested in Issue 659).

Werner

Original comment by wbru...@gmail.com on 9 Jun 2011 at 8:02

GoogleCodeExporter commented 9 years ago
Sorry about the confusion, probably caused by my short reply in #3

Original comment by wbru...@gmail.com on 9 Jun 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Yes, it's true you would need to click on Run to continue - I think we need to 
add keyboard shortcuts so going to the Debug shelf for this is not necessary. I 
think Cody has some plan for a menu with keyboard shortcuts feature for Editra 
(probably in his long list of TODOs!)

I would agree that being able to see more than one shelf for debugging would be 
handy - the debugger is really the first multi-shelf plugin for Editra. Cody, 
do you have any thoughts on this?

Original comment by rans1...@gmail.com on 9 Jun 2011 at 9:26

GoogleCodeExporter commented 9 years ago
Hi,

You can create a shelf layout and split the shelf into multiple views by 
dragging a tab and redocking it in another part of the Shelf to cause it to 
split.

For example I currently have the debug window split on the left side and the 
other windows I need on the right so I can always see two of the windows at a 
time, usually the debug and the local vars window.

Is this what you were referring to?

Original comment by CodyPrec...@gmail.com on 9 Jun 2011 at 1:25

GoogleCodeExporter commented 9 years ago
I replied to email but it doesn't show, so hope this won't be a dup.

Yes, kind of.

I don't want to insist but if it where a separate "Shelf" one would have a bit 
more flexibility.

Instead of what is shown in the attached image (assume this will come through) 
I would probably put the pyDebug on the left and keep it pretty small and have 
the pyVariable, pyStackThread and pyBreakpoint arranged in some way.

To save a bit of screen space could you add an option to the context menu which 
allows to hide/show the tab for all the notebooks which only have a single tab.

Original comment by wbru...@gmail.com on 9 Jun 2011 at 6:10

Attachments:

GoogleCodeExporter commented 9 years ago
Funny, I never knew you could do that!

I have played around and got an arrangement which I've attached that has the 
shelves vertically and horizontally. 

Where there is just one shelf, it would be good to be able to hide the tab - 
this would be an Editra feature rather than a PyStudio feature.

Original comment by rans1...@gmail.com on 10 Jun 2011 at 3:01

Attachments:

GoogleCodeExporter commented 9 years ago
Cody, should we close this issue as it has become an Editra rather than 
PyStudio feature request (to be able to hide the tab when there is just one 
shelf) ?

Werner, is that ok with you? Incidentally, I added the type feature you asked 
for to the Expressions shelf in source control.

Original comment by rans1...@gmail.com on 14 Jul 2011 at 8:12

GoogleCodeExporter commented 9 years ago
As mentioned before just leave it open as is. There is nothing wrong with it 
sitting in this tracker as its partially a feature for this function that just 
requires further extensions in Editra to be more easily implemented.

Original comment by CodyPrec...@gmail.com on 14 Jul 2011 at 8:32

GoogleCodeExporter commented 9 years ago
Just renaming issue to reflect where discussion lead above.

Original comment by rans1...@gmail.com on 30 Mar 2012 at 8:15