Ask Your Question
4

How are the Jupyter Notebook Cells' statuses and shortcuts defined in VScode on MacOS?

asked 2021-09-09 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-12-12 11:00:00 +0000

huitzilopochtli gravatar image

The Jupyter Notebook Cells' statuses and shortcuts in VSCode on MacOS are defined as follows:

  1. Code Cell Status:

    • When a code cell is executing, the cell's status is changed to "Busy" and a spinning icon is displayed on the left side of the cell.
    • Once the execution is complete, the cell's status is changed to "Success" if there were no errors, or "Error" if there were any errors.
  2. Cell Types:

    • Markdown cell: Command + M, M (Switch to Markdown cell)
    • Code cell: Command + M, Y (Switch to code cell)
    • Raw cell: Command + M, R (Switch to raw cell)
  3. Cell Navigation:

    • Command + Enter (Run selected cell)
    • Shift + Enter (Run current cell and move to next cell)
    • Option + Enter (Run current cell and insert new cell below)
    • Up arrow key (Move cursor to previous cell)
    • Down arrow key (Move cursor to next cell)
  4. Cell Editing:

    • Command + Shift + - (Split cell at cursor)
    • Command + Shift + P (Open Command Palette)
    • Command + S (Save changes to notebook)
    • Esc (Enter command mode)
    • Enter (Enter edit mode)
  5. Other Shortcuts:

    • Command + M, H (Show keyboard shortcuts)
    • Command + M, I (Interrupt kernel)
    • Command + M, . (Restart kernel)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-09-09 11:00:00 +0000

Seen: 10 times

Last updated: Dec 12 '22