how to make comments *not* wrap?
136 次查看(过去 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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!