简体   繁体   中英

Switching between editor and console in PyDev

I usually use the key combination Ctrl + Alt + Enter to send a code selection from the Eclipse (Juno) PyDev editor to the interactive console. But this passes control to the console.

I was wondering if there is any way to automatically (or using a shortcut) return control to the code editor.

In the preferences of Eclipse, go to "PyDev/Editor/Interactive Console" and uncheck "Focus console when an evaluate command is sent from the editor". This will leave the focus in the editor, while evaluating the code in the console.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM