Add option to run cell in terminal
See original GitHub issueCreating a line with
#%%
Defines a “cell” that can currently be run through Jupyter.
I have tried to use Jupyter for about a week for interactive development, but for various reasons, it isn’t a good fit for me (tl;dr: too much ux overhead).
However, the ability to mark something as a cell and have a quick way to run that block without explicitly selecting the block first is great.
So I propose to add a command to Run Current #%%
-cell in Terminal (i.e. not in Jupyter).
Similar functionality that already exists: Run Cell in Jupyter -> opens a new tab with Jupyter with all its features and clutter. Run Python File in Terminal Run Selection/Line in Python Terminal
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Working with Jupyter code cells in the Python Interactive window
To select an environment, use the Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P). Once the appropriate environment is activated, you ...
Read more >Python in VS Code: Can I run cell in the integrated terminal?
If you wish to execute the cell contents in the CURRENTLY ACTIVE terminal, you need to tweak AdamAL's solution: Install multi-command.
Read more >Running python code using 'Run selection in Python terminal'
Want to see what some Python code will do when run ? Use the ' Run selection in Python terminal ' command from...
Read more >PyCharm - Run and debug Jupyter notebook code cells
Ctrl+Enter : Runs the current cell. · Shift+Enter : Runs the current cell and select the cell below it.
Read more >How To Use Jupyter Notebooks - Codecademy
Cells are how notebooks are structured and are the areas where you write your code. To run a piece of code, click on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the suggestion! We talked about it with the team offline and we have unfortunately decided we will not be moving forward with this idea. We think there isn’t an enough widespread need for this to warrant the maintenance cost for the feature.
@adamal, there is a setting
"jupyter.enableCellCodeLens"
that can be set tofalse
to remove Cell’s options in the editor