Evaluate Python in an interactive window with automatic detection of "cell" boundaries - zero markup. Enjoy notebook-like feedback in plain python files.
By default ctrl-enter
evaluates the current cell and stays there, shift-enter
evaluates & moves to the next cell.
A "cell" is defined as:
- the current line, function, or class, plus:
- any adjacent cells not separated by a blank line
Saccades are rapid, ballistic movements of the eyes that abruptly change the point of fixation [1]. Saccades are one of the fastest movements produced by the human body [2]. The primary function of saccades is to bring new objects of interest on to the fovea [3]. This allows the visual system to scan the environment quickly and efficiently, building up a detailed mental image despite having high resolution in only a small part of the retina.
- Automatically detect code cells based on function/class, contiguous regions, and configurable cell markers. No need to pollute your python files with cell metadata.
- Supports both code and markdown cells
- Visual feedback with cell highlighting
- Compatible with Jupyter notebooks and Python scripts using Jupytext "light" format
- Integrates with VS Code's Python Interactive Window
- Visual Studio Code v1.90.0 or higher
- Python extension for VS Code
This extension contributes the following settings:
saccade.enabledCellMarkers
: An array of strings that define the cell markers. Default:["# +", "# %%"]
Contributions are welcome! Please feel free to submit a Pull Request.
This extension is licensed under the MIT License.