Keyboard shortcut to Un/Comment out code in Mathematica 7?

后端 未结 3 1443
广开言路
广开言路 2020-12-24 15:26

A keyboard shortcut to comment/uncomment out a piece of code is common in other programming IDE\'s for languages like Java, .Net. I find it a very useful technique when expe

3条回答
  •  青春惊慌失措
    2020-12-24 15:57

    Select the code and press one of the following:

    • Alt+/
    • Alt-E-O
    • Alt+E+O

    Notes:

    • Tested only on Windows, using Mathematica 8.
    • On my non-US keyboard (ABNT Brazil), the shortcut Alt+/ doesn't work, instead I use Alt+E+O.

提交回复
热议问题