how to make comments *not* wrap?
    97 ビュー (過去 30 日間)
  
       古いコメントを表示
    
how to make comments not wrap?
or alternatively, how can i move this annoying vertical gray line that insists on wrapping my comments to the next row? My code can have >80 characters/per line, must i always have this line through the middle of my code?
0 件のコメント
採用された回答
  Francesco Marini
      
 2017 年 11 月 30 日
        Go to Preferences -> Editor -> Language
Under 'Comment formatting', uncheck 'Wrap comments automatically while typing'
8 件のコメント
  Steven Lord
    
      
 2023 年 5 月 12 日
				Under Editor/Debugger preferences, in the Display section, unselect "Right-hand text limit".
その他の回答 (2 件)
  Johannes Kalliauer
      
 2021 年 6 月 15 日
        Preferences -> MATLAB -> Editor/Debugger -> Language -> Comment formating
Uncheck "Wrap comments automatically while typing".

0 件のコメント
  Jon
      
 2015 年 9 月 25 日
        Did you even look through the Editor options in Preferences? There is a button you can uncheck to turn it off.
2 件のコメント
  Stephen Nelson
 2020 年 8 月 27 日
				
      編集済み: Walter Roberson
      
      
 2021 年 1 月 14 日
  
			See below for actual instructions
参考
カテゴリ
				Help Center および File Exchange で Entering Commands についてさらに検索
			
	製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!