question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Native Interactive - Clear All doesn't clear cells

See original GitHub issue

Environment data

  • VS Code version: 1.58.0-insider
  • Jupyter Extension version: v2021.8.1003809038
  • Python Extension version: v2021.7.992362372-dev
  • OS (Windows | Mac | Linux distro) and version: OSX 11.4
  • Python and/or Anaconda version: 3.9.5
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): poetry env
  • Jupyter server running: Local | Remote | local

Expected behaviour

jupyter.interactive.clearAllCells deletes all cells in the current native jupyter interactive window

Actual behaviour

Nothing happens, wether run with keyboard shortcut or from command palette

Steps to reproduce:

  1. cmd + shift + p > “clear all…”
  2. press enter
  3. cells not cleared
image

PS Native interactive looking 👌🏻👌🏻👌🏻 - excited to see how it progresses!

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
joyceerhlcommented, Jul 6, 2021

Oops, that’ll be because the current implementation assumes the command is being invoked with context from the interactive/toolbar menu. Should be a straightforward fix.

0reactions
IanMatthewHuffcommented, Jul 7, 2021

Validated + opened https://github.com/microsoft/vscode/issues/128166 this as you have to have selection in specific areas for it to work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Clear cells of contents or formats - Microsoft Support
To clear all contents, formats, and comments that are contained in the selected cells, click Clear All. To clear only the formats that...
Read more >
How can I clear the terminal in Visual Studio Code?
Use Ctrl + K . This goes clean your console in Visual Studio Code. ... The command is there under Terminal: Clear but...
Read more >
icon for "remove all interactive cells" · Issue #2272 - GitHub
The 'close window' icon is the icon you're looking for. It doesn't close the window, but rather removes all the cells.
Read more >
Clear your web browser's cache, cookies, and history - IU KB
Choose the data type you want to clear. Tap Clear Browsing Data. Exit/quit all browser windows and re-open the browser. Desktop browsers. Chrome....
Read more >
How to remove text or numbers from Excel cell - Ablebits
This tutorial will teach you how to separate text from numbers in Excel by using native formulas and custom functions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found