Skip to content

Comment-out code block #14577

Answered by ccalvocm
mbakker7 asked this question in Q&A
May 22, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Greetings @mbakker7

Yes, there is another way to comment-out a code block in JupyterLab 4. Here's how you can do it:

  1. Select the code block that you want to comment-out.
  2. Press the Cmd key and the / key at the same time. This will comment-out the selected code block.

Alternatively, you can also use the following key combination:

  1. Select the code block that you want to comment-out.
  2. Press the Ctrl key and the Shift key and the C key at the same time. This will comment-out the selected code block.

These key combinations should work in JupyterLab 4 on Safari. Let me know if you have any other questions or concerns.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mbakker7
Comment options

@dinohsu1019
Comment options

Answer selected by mbakker7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants