LiClipse and execute codes in console shortcuts?

For Eclipse PyDev, you can select a few lines of code, then press Ctrl + Shift + Enter to execute the codes in the interactive console, but with LiClipse, which simply deletes the selected codes, I can not find anywhere else, mentioning this, anyone?

0
source share
1 answer

Well, this is a PyDev function, so it will only work if you open .py files with the PyDev editor (i.e. in the settings> general> editors> file associations check that '* .py' is marked to open with " Python Editor "- for PyDev - and not" Python Editor for LiClipse ").

Alternatively, you can right-click the file and select "open with> Python Editor".

After that, Ctrl + Alt + Enter should work for you (note that in the latest version Ctrl + Alt + Enter really opens to open the editor, but F2 is the recommended way to send lines by line to the console ... For more details see http: // pydev.org/manual_adv_interactive_console.html .

0
source

Source: https://habr.com/ru/post/1213865/


All Articles