daj
daj

Reputation: 7183

pycharm - keep focus in editor when sending commands to python console

Same question as

Sypder 2 IDE - keep the focus in the editor after sending selected commands to interpreter

but for JetBrains PyCharm. Using option-shift-e on a mac, I can send commands to the python console, but I have to press esc to return focus to the editor. Can I do the Rstudio-style / Emacs-ESS style execution where focus stays in the editor window?

Upvotes: 6

Views: 1237

Answers (2)

rzymek
rzymek

Reputation: 876

I'm using PyCharm 2.7.3 on Ubuntu 12.04 LTS with Netbeans keymap.

I can use CTRL+ALT+E to execute selected command and for the first time the console has a focus, indeed (first time after lauching IDE). However, any further CTRL+ALT+E leaves the focus on editor. (I can switch back to the console, which is named Run, using ALT+4.)

If newer versions of PyCharm are behaving differently then maybe it's a bug.

enter image description here

Upvotes: 2

James
James

Reputation: 457

Use the built in console and/or built in terminal.

Upvotes: 1

Related Questions