12/21/2023 0 Comments Mac matlab comment shortcut![]() ![]() ![]() And an unexpected swapping of two code lines via the trained Ctrl+T movement (instead of the expected uncommenting of the marked code block) can really screw up your code easily. Commenting and uncommenting is often used (at least by myself) during Octave programming. Making "Ctrl + T" the Octave shortcut for uncommenting would help former Matlab users to quickly use the Octave editor. The Matlab keyboard shortcuts in the GUI editor (for commenting) are: This is a feature request (to make the Octave GUI editor more easily used by former Matlab users):Ĭould we make "Ctrl+T" the default keyboard shortcut for un-commenting in the GUI editor?Ĭurrently the default values in Octave are: But I could understand if noone wants to change the whole way of defining keyboard shortcuts in the settings tab, just to make this small wish happen. So it wouldn't be possible at all (as I suggested) to have TWO shortcuts for the same action (i.e. It's only now that I realise that the current way of setting the keyboard shortcuts in Octave is NOT able to achieve this :( There is a list of actions in the settings tab, and each action can have (only) ONE keyboard shortcut. Ctrl + something else = swap two text lines. ![]() Ctrl + T = uncommenting (second way of doing the same thing, for former Matlab users).My suggestion was to have something like this as default in the Octave editor: People shoudn't need to change anything in the options in order to have this behavior (as discussed in the original post).īut I also wouldn't want to destroy the nice Octave editor behavior, that we have currently (Ctrl+R for commenting, and Ctrl+Shift+R for uncommenting). Yes, the direction of my feature request was to make Ctrl+T a default keyboard shortcut for un-commenting in the editor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |