Spyder 4 comes with several interesting and exciting new features. The most important ones are:
-
Main Window
- Dark theme for the entire application.
- A new Plots pane to browse all inline figures generated by the
IPython console. - Rename the following panes:
Static code analysis
toCode Analysis
File explorer
toFiles
Find in files
toFind
History log
toHistory
Project explorer
toProject
- Create a separate window when undocking all panes.
- Show current conda environment (if any) in the status bar.
-
Editor
- Code folding.
- Indentation guides.
- A class/method/function lookup panel. This can be shown in the menu
Source > Show selector for classes and functions
. - Autosave functionality to recover unsaved files after a crash.
- Optional integration with the Kite completion
engine. - Code completion and linting are provided by the Python Language Server.
-
IPython Console
- Run files in an empty namespace.
- Open dedicated consoles for Pylab, Sympy and Cython.
- Run cells through a new function called
runcell
. - Run cells by name.
-
Debugger
- Code completion.
- Execute multi-line statements.
- Syntax highlighting.
- Permanent history.
runfile
andruncell
can be called when the debugger is active.- Debug cells with
Alt+Shift+Return
.
-
Variable Explorer
- New viewer to inspect any Python object in a tree-like representation.
- Filter variables by name or type.
- MultiIndex support in the Dataframe viewer.
- Support for all Pandas indexes.
- Support for sets.
- Support for Numpy object arrays.
- Restore the ability to refresh it while code is being executed.
-
Files
- Associate external applications to open specific file extensions.
- Context menu action to open files externally.
- Multi-select functionality with
Ctrl/Shift + mouse click
. - Copy/paste files and their absolute or relative paths.
- Use special icons for different file types.
-
Outline
- Show cells grouped in sections.
- Add default name to all cells.
For the full list of closed issues and merged pull requests in this release, please see our Changelog.