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 #%%.
In a Jupyter Notebook editor, you can do this with the Notebook: Focus Previous Cell Editor and Notebook: Focus Next Cell Editor commands in the command palette.
They are bound by default to the up and down arrow keys when the cursor is at the top/bottom of the cell editor, and to ctr+alt+pageup/pagedown regardless of where the cursor is in the cell editor. If you want to customize the keybindings, their command IDs are notebook.focusPreviousEditor and notebook.focusNextEditor.
In an interactive Python file with code cells, you can do this using the Jupyter: Go to Previous Cell and Jupyter: Go to Previous Cell commands in the command palette. They are bound by default to ctrl/cmd+alt+[ and ctrl/cmd+alt+] respectively. Their keyboard shortcut command IDs (if you want to customize your keyboard shortcuts) are jupyter.gotoPrevCellInFile and jupyter.gotoNextCellInFile.