F9 changes focus to the console
See original GitHub issueWith a recent git spyder pressing F9 in the editor changes the focus to the console so you can’t keep pressing F9 to execute futher lines without clicking back on the editor.
I would like F9 to not change focus to the console.

cython >=0.21 : 0.25.2 (OK)
jedi >=0.9.0 : 0.10.0 (OK)
matplotlib >=1.0 : 2.0.1 (OK)
nbconvert >=4.0 : 5.1.1 (OK)
numpy >=1.7 : 1.12.1 (OK)
pandas >=0.13.1 : 0.20.1 (OK)
pycodestyle >=2.3: None (NOK)
pyflakes >=0.6.0 : 1.5.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.6.5 (OK)
qtconsole >=4.2.0: 4.3.0 (OK)
rope >=0.9.4 : 0.10.5 (OK)
sphinx >=0.6.6 : 1.5.5 (OK)
sympy >=0.7.3 : 1.0 (OK)
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Sypder 2 IDE - keep the focus in the editor after sending ...
"Run selection (F9) changes focus to Python interpreter, but ex-Matlab users expect the focus to remain on the editor #1627".
Read more >Check if F9 console is open? - Scripting Support - DevForum
I'll get to the point: I have a custom chat that takes focus when the player presses the “/” key, or takes focus...
Read more >Console logging the focused element as it changes | hidde.blog
If the element that is currently focused is removed from the DOM, the focus is moved either to the document's body element or...
Read more >F8 F9 F10 keys are not recognized - Visual Studio Feedback
Repro steps: 1. Open Tools > Customize > Keyboard setting 2. Focus on Press shortcut keys input box 3. Press function keys, the...
Read more >JavaScript debugging reference - Chrome Developers
You're paused on A . By pressing Step over, DevTools executes all the code in the function that you're stepping over, which is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

FWIW, I’ve nuked my old python install and am now running on a freshly installed Anaconda/py36 with an updated spyder and I don’t see the problem. F9 correctly keeps focus in the editor, allowing you to keep pressing to execute consecutive lines.
Happy for this to be closed if it can’t be reproduced.
Great!! One thing less to work on for Spyder 3.2 😉