Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a keyboard shortcut to switch from editor to console in Spyder?

Tags:

ipython

spyder

I'm using Spyder via Anaconda on a Mac, and often switch back and forth between the editor and console. I was wondering if there's a keyboard shortcut to switch quickly between these two panes. It's just not quite convenient to do it with the trackpad or mouse.

like image 648
rnels12 Avatar asked Jul 29 '15 16:07

rnels12


People also ask

How do you get the console output on Spyder?

Once you have it open in your Editor, you can execute it by pressing the green run button. We can see the output in the Python Console [Show IPython console] as well as the path of the file that we are running and the working directory where this code was run.

How do I use Spyder console?

Go to Preferences -> IPython console -> Startup and select the tickbox next to Open an IPython console at startup. Then click the OK button. The next time Spyder starts, it will show the IPython console automatically.

How do you switch between files on Spyder?

You can switch between files with CTRL + Pageup / Pagedown , but there is still an open issue with that https://code.google.com/p/spyderlib/issues/detail?id=43. For me it works fine in the currentversion. Both Ctrl + PageUp/Down and Tab works for me.

What are the key combinations for the Spyder keyboard?

Spyder Key Combinations Description Keys Close pane ctrl + shift + f4 Lock unlock panes ctrl + shift + f5 Use next layout alt + shift + pagedown 24 more rows ...

How do I open spyder in Python?

Ctrl + . Ctrl + Alt + ↑ Shift + . Is this page helpful? Spyder is an open-source integrated development environment for programming in Python language. It incorporates some of the scientific Python packages such as NumPy, SciPy, Matplotlib, pandas and IPython. Spyder can be extended with first-party and third-party plugins.

How do I use matches in Spyder?

matches. Ctrl + . Ctrl + Alt + ↑ Shift + . Is this page helpful? Spyder is an open-source integrated development environment for programming in Python language. It incorporates some of the scientific Python packages such as NumPy, SciPy, Matplotlib, pandas and IPython.

What are the keyboard shortcuts for the editor?

Spyder Keyboard Shortcuts for the Editor under Windows Conventional (more or less) Keyboard Shortcuts Home Go to start of line ... Ctrl + Alt + Up Arrow Duplicate line Miscellaneous Keyboard Shortcuts Tab Indent selected line(s) Shift + Tab Unindent selected line(s)


1 Answers

  1. IPython console to Editor: Command +Shift + E
  2. Editor to IPython console: Command + Shift + I

(On windows you can replace Command with CTRL)

like image 113
shahensha Avatar answered Sep 27 '22 17:09

shahensha