Keyboard shortcut for change to upper case in editor

19 ビュー (過去 30 日間)
David Young
David Young 2022 年 8 月 27 日
回答済み: David Young 2022 年 8 月 30 日
In R2021a I have a keyboard shortcut which changes selected text to upper case in the editor. In R2022a the action "Change to upper case" no longer appears in the list of actions found under Home > Preferences > Keyboard > Shortcuts. Is there an alternative way to set up such a shortcut now?

採用された回答

David Young
David Young 2022 年 8 月 30 日
It turns out that CTRL+SHIFT+A does what I need. A pity that it's apparently stopped being user-settable, but at least a shortuct exists. (I still haven't found where this is documented, but the operation is listed and a shortcut shown if you right-click highlighted text in the editor. I guess this is supposed to be obvious, but it wasn't to me.)

その他の回答 (2 件)

Image Analyst
Image Analyst 2022 年 8 月 27 日
When you installed the new version it should have transferred over all your shortcuts. It did for me. It it's not there in the quick launch toolbar in the upper right then you'll just have to recreate the shortcut.
  6 件のコメント
Image Analyst
Image Analyst 2022 年 8 月 27 日
You might try asking Yair Altman if there is a way to get the highlighted text in the editor window:
Maybe something like matlab.desktop.editor.somethingOrOther
David Young
David Young 2022 年 8 月 28 日
Thank you - I'll bear that in mind if a more straightforward approach doesn't offer.

サインインしてコメントする。


Image Analyst
Image Analyst 2022 年 8 月 27 日
Do this in both versions of your programs
>> dir(prefdir)
Do you see shortcuts.xml in one but not the other? If so, copy it over.
  3 件のコメント
Image Analyst
Image Analyst 2022 年 8 月 29 日
Well I guess then you're just out of luck. Maybe a call to tech support might help.
David Young
David Young 2022 年 8 月 30 日
Thanks - yes I'll send a support request unless someone here comes up with something.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by