Comment folding in ML Editor

4 ビュー (過去 30 日間)
dpb
dpb 2017 年 12 月 25 日
コメント済み: dpb 2017 年 12 月 31 日
Finally got a 64-bit machine/OS so updated to R2016b. Now the code editor wants to wrap comments past the RH margin...I thought I turned all the folding options I could find off but can't seem to kill this -- where's the control live???
And, they still can't implement Shift_Tab to left shift by tab stop???
Nor column selection?
I had hoped it might catch up... :(

採用された回答

Walter Roberson
Walter Roberson 2017 年 12 月 25 日
Preferences -> Editor -> Language "Wrap comment automatically while typing"
"And, they still can't implement Shift_Tab to left shift by tab stop???"
Although you can adjust Keyboard -> Shortcuts -> Decrease Indent to add additional keys, the interface seems to act on Tab characters. However, you can use + to add a shortcut there, and press shift control I . That will properly register the set of characters so that shift-tab will exdent.
"Nor column selection?"
Not in any released version.
  1 件のコメント
dpb
dpb 2017 年 12 月 31 日
Ah! Thanks, Walter. I'd somehow overlooked it...
For the most part I always used Brief editor outside the ML editor if writing any amount of code, simply using it for debugging on occasion. Now, the old real Brief won't run at all any longer and so far haven't found a satisfactory replacement...
I've not tried to see if could build a key bindings or not; the old MS Visual Studio bindings were partial but were unable to avoid some Alt sequences dropping back into native menu context which could wreak havoc on a file before one realized what had done so was totally unusable as a toolset.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by