nok
(nok)
February 14, 2019, 3:16pm
31
I will start:
Go To The Current Running Cell Keyboard Shortcut
I often find myself scrolling through the running notebook, trying to find the currently running cell.
I wrote a keyboard shortcut that takes me there directly using Alt-I.
If you’d like to the same functionality add the following code to ~/.jupyter/custom/custom.js (you may need to create the folder and the file if you don’t have them already):
// Go to Running cell shortcut
Jupyter.keyboard_manager.command_shortcuts.add_shortcu…
ipython-contrib:master
← noklam:go-to-current-running-cell
opened 02:46PM - 30 Dec 18 UTC
This extension add better navigation functionality, user can jump to the running… cell directly with button/shortkey. It also come with the ability to focus on completed cell so user can watch the progress of notebook without scrolling too much.
#1383
Functions:
* [x] Jump to the first executing cell
* [x] Auto focus on completed cell
* [x] Buttons for jumping to executing cell
Config:
* [x] Add options to change shortcut with shortcut editor
* [x] Add options to set follow executing cell as default with the checkbox
* [x] User can define the icon for the button if they want with input
Fix:
* [x] Confirm shortcut editor works well. (User input text as a fix)
# Demo
![jump_to_cell](https://user-images.githubusercontent.com/18221871/50548254-6f0f4980-0c84-11e9-95c3-bf99a28471b5.gif)
![auto_focus](https://user-images.githubusercontent.com/18221871/50548255-720a3a00-0c84-11e9-8a63-78e34392a77a.gif)
Help/advice is much appreciated, I have not much Javascript experience and this is the first time I make any PR to this project. I need a little bit of help for the command message, I can't find where can I edit the command message, currently, it shows `autogenerated function`
![image](https://user-images.githubusercontent.com/18221871/50548262-8e0ddb80-0c84-11e9-9dae-6bd4c172e934.png)
I like this function so much that I have build an jupyter extension. Unfortunately the PR process is rather slow. Here is my PR. The functionality was similar as what @stas built, I add a button and with an dedicate extension you can easily configure the shortcut with the nbextension configurator.