how to make comments *not* wrap?
139 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jacob Grayson
el 25 de Sept. de 2015
Comentada: Steven Lord
el 12 de Mayo de 2023
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 comentarios
Respuesta aceptada
Francesco Marini
el 30 de Nov. de 2017
Go to Preferences -> Editor -> Language
Under 'Comment formatting', uncheck 'Wrap comments automatically while typing'
8 comentarios
Steven Lord
el 12 de Mayo de 2023
Under Editor/Debugger preferences, in the Display section, unselect "Right-hand text limit".
Más respuestas (2)
Johannes Kalliauer
el 15 de Jun. de 2021
Preferences -> MATLAB -> Editor/Debugger -> Language -> Comment formating
Uncheck "Wrap comments automatically while typing".
0 comentarios
Jon
el 25 de Sept. de 2015
Did you even look through the Editor options in Preferences? There is a button you can uncheck to turn it off.
2 comentarios
Stephen Nelson
el 27 de Ag. de 2020
Editada: Walter Roberson
el 14 de En. de 2021
See below for actual instructions
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!