Keyboard Shortcut for Prev/Next Messge in ML Editor

7 visualizzazioni (ultimi 30 giorni)
In previous versions, in Matlab Editor I could use Alt-Up and Alt-Down to quickly go to the previous/next editor message (warning or error). In R2022b it seems that Alt-Up and Alt-Down are exclusively for Go To Previous / Next Variable Instance. In the editor preferences I can't even find the option to create my own shortcut for Previous/Next Message.
Anyone got any ideas, as I find using keyboard shortcuts is 10x faster than using the mouse to click on the little orage/read triangle in the top-right of the editor window.
Thanks

Risposta accettata

Jinal
Jinal il 13 Mar 2023
Hey Cristopher,
I understand that you wish to use keyboard shortcuts for navigating through error/warning messages in the MATLAB Editor. At present, the user defined customization of keyboard shortcuts in MATLAB Editor is limited to the current set of defined actions and corresponding keyboard shortcuts.
You can navigate through errors/warnings using the message indicator present at the top of the indicator bar. You can also click a marker in the indicator bar to go to the line that the marker represents.
For more information you can take a look at this page
Hope that helps.
  1 Commento
Christopher Slack
Christopher Slack il 15 Mar 2023
Modificato: Christopher Slack il 15 Mar 2023
Thanks for your answer Jinal. I'd like to point out that the current situation in R2022b is a retrograde step from R2020b (I don't have R2021b to make a comparison). With r2020b, you could use Alt-Up/Down & Alt-Entre to quickly navigate to the previous and next warning and apply the automatic fix. Now, with this change in the editor, the user has to move the mouse around the screen clicking on a little icon.
I can understand why mathworks would want to seperate the shortcuts "prev/next variable" from "prev/next message" - but I can't understand why they would think it's beneficial to the user to completely remove the latter.
Would it be possbile to forward this on to the developers so that they can put it back in (or at least the ability for the user to select their own shortcut).
Thanks.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Desktop in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by