(I have seen there is an Emacs version of mathematica, I have never tried Emacs or this Mma version and imagine that it would have this ability but would prefer not to go to the trouble and uncertainty of installing it. I looked at this question and looked in the file but I don't think there is any way to create a shortcut to do this(?). Can someone else verify that this isn't unique to my machine and that the key isn't recognised by mathematica. I tried to access this using the menu key Menu on the keyboard but Mathematica frontend doesn't respond to or recognise this key unlike other applications, this could have allowed a key combination for commenting. I know that it is possible to comment out code by selecting the code, right mouse click and select Un/Comment from the menu that appears but this is too slow while coding. I cannot find any such keyboard shortcut on the Mathematica front end in version 7. I find it a very useful technique when experimenting through trial and error to temporarily comment out and uncomment lines, words and parts of the code to find out what is and isn't working. A keyboard shortcut to comment/uncomment out a piece of code is common in other programming IDE's for languages like Java.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |