Keyboard Shortcut for Prev/Next Messge in ML Editor

6 次查看(过去 30 天)
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

采纳的回答

Jinal
Jinal 2023-3-13
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 个评论
Christopher Slack
Christopher Slack 2023-3-15
编辑:Christopher Slack 2023-3-15
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by