Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Pydev: Run selected lines of code

Is there a command in Eclipse Pydev which allows me to only run a few selected (highlighted) lines of code within a larger script?

If not, is it possible to run multiple lines of code in the PyDev console at once?

like image 768
Michael Avatar asked Sep 08 '12 23:09

Michael


2 Answers

press CTRL+ALT+ENTER to send the selected lines to the interactive console

like image 101
ajeje Avatar answered Sep 21 '22 21:09

ajeje


The solution is selecting and pressing F2, see this question or simply this section of the manual.

like image 29
Max Gordon Avatar answered Sep 20 '22 21:09

Max Gordon