Closed
Description
(I have tried to search through issues and have not found any relevant results)
Here's the behavior I'm used to in Atom's Hydrogen (with the added hydrogen-python extension). The only thing I'm pressing is Shift + Enter
Screen.Recording.2022-11-26.at.12.15.00.PM.mov
- Shift + Enter first starts the jupyter kernel
- Each call to Shift + Enter:
- Infers a "block" of code to run in Jupyter, including the current line plus any additional lines that are indented more than the current line
- Sends that block of code to Jupyter
- Moves cursor down past the block that was run + past any additional whitespace to the next line of Python code
Key points
- This is not in a notebook with cells, but rather a normal Python text file.
- I don't have to select the block manually to determine what to run.
- Moving the cursor down automatically means that I can use a series of only Shift + Enter to run through as much of my file as I'd like
- This is Python-specific, and so maybe is out of scope for this extension? Is there a Python-specific Jupyter add on somewhere?