How do I Ctrl-R on Mac?
71 次查看(过去 30 天)
显示 更早的评论
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.
采纳的回答
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 个评论
更多回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Entering Commands 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!