How can I change the behavior of the commenting function so that the location of the % respect the indentation?
2 ビュー (過去 30 日間)
古いコメントを表示
When I comment the line 5 using ctrl+R> or clicking on the "comment" icon:
I get:
I would like to have instead:
How to achieve that?
0 件のコメント
回答 (1 件)
Mischa Kim
2014 年 2 月 3 日
Franck, probably the easiest way is to use smart indenting: select all text (CTRL + a) and then use CTRL + i.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!