How do I Ctrl-R on Mac?

166 ビュー (過去 30 日間)
Katy Soto
Katy Soto 2020 年 1 月 16 日
コメント済み: MEILING JIN 2024 年 1 月 1 日
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 件のコメント
MEILING JIN
MEILING JIN 2024 年 1 月 1 日
try cmd + /

サインインしてコメントする。

採用された回答

Geoff Hayes
Geoff Hayes 2020 年 1 月 16 日
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 件のコメント
Katy Soto
Katy Soto 2020 年 1 月 16 日
That did the trick. Thank you very much!
Niklas Kurz
Niklas Kurz 2023 年 7 月 20 日
How do you accomplish that? cmd + shift + 7 ? No effect

サインインしてコメントする。

その他の回答 (1 件)

Steven Lord
Steven Lord 2020 年 1 月 17 日
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.

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by