Hi Fabio,

I have added a new debug command functionality i.e. 'Set Next Statement' in a 
PyDev Code. I have added the same in 'Menu->Run->Set Next Statement ' and 
'Ctrl+X as a Shortcut'. I have created a new branch in a git i.e. 
'SetNextStatement' 
(https://github.com/hussainbohra/Pydev/commits/SetNextStatement) and submitted 
my code there. 


I have written a new command and action for set next statement. Please refer an 
attached plugIn.xml
I also want to add a shortcut for "Set next statement" in 'Debug View Launch 
Toolbar' and 'Context Menu'.

Debug View Launch Toolbar
  - I have added an icon for Set Next Statement in a 'Debug View Launch 
Toolbar' 
using MenuContribution. But I could not able to link toolbar icon with my new 
set next command. Can you please have a look in attached plugin.xml and let me 
know if I am missing something ?
 
Context Menu
 - Inorder to add shortcut for 'Set Next Statement' in context menu (Right 
Click 
Pop-up), Can you please let me know the best approach for the same and also can 
I use my existing set next command for context menu as well ? If Yes, then how ?

Important Note: SetNextStatement branch contains around 4 unncessary files, 
which got submitted un-intentionally. I still need to figure out how 
these files 
got submitted when I have not added these files using "git add <file_name>". 
Kindly ignore those files while reviewing my changes. I'll create new branch 
which will only contain necessary code changes.

Thanks in advance,
Hussain Bohra

Attachment: plugin (added code).xml
Description: XML document

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to