-
Notifications
You must be signed in to change notification settings - Fork 0
Runtools
Runtools provide additional execution modes for code cells:
- Execute a single cell
- Execute from top cell to currently selected cell
- Execute from currently selected cell to bottom cell
- Execute all cells
- Execute all cells, ignore exceptions (requires https://github.com/ipython/ipython/pull/4993)
- Execute marked codecells (cells with green gutter area are marked)
- Stop execution (duplicate to standard toolbar button)
The runtools extension adds two button groups to the main toolbar:
Code execution buttons:
Codecells can be marked by clicking on the gutter of a codecell or by clicking on the markers toolbar:
A IPython notebook with marked cells looks like this:
Copy the runtools directory to a new /static/custom/runtools directory of your IPython profile and add
require(['/static/custom/runtools/runtools.js'])to your custom.js file so it looks like this:
$([IPython.events]).on('app_initialized.NotebookApp', function(){
//...
require(['/static/custom/runtools/runtools.js'])
});A cell.metadata.run_control.marked = true property is added to a marked codecell.
The "Execute marked codecells" button loops over all codecells an executes only those cells that exhibit this metadata property.
Aspell
Breakpoints
Chrome Clipboard
Codefolding
Comment Uncomment
Drag and Drop
Execute Timings
Help Panel
Hide Input All
Hierarchical Collapse
International Keymap
Javascript Highlighter
LaTeX Environments
Limit Output
Linenumbers
Navigation Hotkeys
Nbconvert Button
Printview Button
Printviewmenu Button
Python Markdown
Readonly
Rubberband
Runtools
Search & Replace
Search
Shift-Tab 3.x
Skip Traceback



