How do I Ctrl-R on Mac?

163 vues (au cours des 30 derniers jours)
Katy Soto
Katy Soto le 16 Jan 2020
Commenté : MEILING JIN le 1 Jan 2024
Does anyone know how to use the Ctrl-R shortcut that comments a block of code in one go on MacOS? I've tried Cmd-R but that doesn't work. If anyone has any suggestions it would be very much appreciated.
Thank you.
  1 commentaire
MEILING JIN
MEILING JIN le 1 Jan 2024
try cmd + /

Connectez-vous pour commenter.

Réponse acceptée

Geoff Hayes
Geoff Hayes le 16 Jan 2020
Katy - on my version of MATLAB (on a Mac), I can comment a block of code with Cmd /. (Note that Cmd T uncomments the block of code.)
  2 commentaires
Katy Soto
Katy Soto le 16 Jan 2020
That did the trick. Thank you very much!
Niklas Kurz
Niklas Kurz le 20 Juil 2023
How do you accomplish that? cmd + shift + 7 ? No effect

Connectez-vous pour commenter.

Plus de réponses (1)

Steven Lord
Steven Lord le 17 Jan 2020
FYI to search for or customize the keyboard shortcuts, see the Keyboard preferences as described on this documentation page. Searching for "comment" will find you the correct action and show you its shortcut.

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by