Keyboard shortcut to move cursor to next cell in VS Code - visual-studio-code

Is it possible to move the cursor from one script cell to another using a keyboard shortcut using Visual Studio Code i.e. navigating between cells during editing?
I only found the possibility to run single cells but not the possibility of moving only the cursor to the next or to the previous script cell designated by #%%.

Related

Go to the previous cell with a keyboard shortcut

Let's suppose I am editing a code in a particular cell of a jupyter notebook in VSCode. Then I search for something and it takes me to another cell somewhere on the notebook. How can I navigate back to the original cell without tediously searching for it with a slider? Any appropriate keys to do that?

Is it possible to put a jupyter notebook cell in VSCode in interactive mode so that it runs the cell when its contents change

I'm looking for a way to put a jupyter notebook cell in VSCode in interactive mode so that it runs the cell when its contents change without having to run it explicitly.
If there's no existing solution, is it somehow possible to automate executing the cell periodically or does the VSCode jupyter lab integration offer some scripting hooks?
Alternatively, is there a possibility to explicitly execute a cell without loosing the cell focus and its current cursor position? CTRL+Enter directly doesn't work; the tabulator key needs to be pressed four times additionally to get back to the cell.

How to add a command to Jupyter Notebook toolbar in Visual Studio Code?

My default Jupyter Notebook toolbar in VS Code has a command "Clear Outputs of All Cells". I would like to add a similar but different command Notebook: Clear Cell Outputs, which only clears one cell at a time. I can do that by pressing ALT + DEL, but it would be convenient to have it in toolbar.
I have added this button to the Context Menu Extra extension (v0.4.0) (You need VSC v1.62, because I don't know when some experimental API got public)
If the cell has output you should see the "Clear Cell Output" button in the cell toolbar at first position.
There is no documentation of the allowed groups for this menu. I have used a group the Jupyter extensions also uses. That is the reason it is one of the first buttons.

Collapse cell via code, or key shortcut in jupyterlab

Is it possible to collapse the cell itself - and not the output, either via a hotkey combo, or a line of code?
I know that by clicking on the blue line on the side it collapses it, but would want to streamline this.

VS Code search inside the editor without rollover

If I search inside the actual editor of VS Code without an match below the current line, VS Code rollover the search from the top of the page.
How can I disable this?
One thing you can do instead of disabling this (which I don't thing this is configurable) is to use ctrl+U. It's soft undo, moves the cursor back to it's previous location. This is particularly useful when you need to move down in a long file to copy a variable or function name and then go back to your original position. So when vscode goes to the top of the page, put the cursor there, and then press ctrl+U to go back to the previous line you where editing.