thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Enhancement: Please Add a MenuItem "Add To Watches" to the Context Menu for adding the selected text into the Watches Tab #445

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please Add a MenuItem "Add To Watches" for adding the selected text into the 
Watches Tab. This is very useful in debugging mode because allows to quickly 
debug the selection (as in Eclipse)
Thanks

Original issue reported on code.google.com by massimil...@gmail.com on 18 Nov 2010 at 7:38

GoogleCodeExporter commented 9 years ago
There is already a menu option in the context menu of the Watches Window "Add 
Watch at Cursor" with a shortcut Alt+W.
This takes care of . notation i.e if your cursor sits on myvar
self.myvar.myprop
the whole expression is added as a watch if you press Alt+W.

I have now added in SVN the ability to add selected text as a watch by dragging 
and dropping on the Watches Window.

I think the two above combined would suffice regarding your request.

Original comment by pyscripter on 23 Nov 2010 at 5:00