how to make comments *not* wrap?
74 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jacob Grayson
il 25 Set 2015
Commentato: Steven Lord
il 12 Mag 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 Commenti
Risposta accettata
Francesco Marini
il 30 Nov 2017
Go to Preferences -> Editor -> Language
Under 'Comment formatting', uncheck 'Wrap comments automatically while typing'
8 Commenti
Steven Lord
il 12 Mag 2023
Under Editor/Debugger preferences, in the Display section, unselect "Right-hand text limit".
Più risposte (2)
Johannes Kalliauer
il 15 Giu 2021
Preferences -> MATLAB -> Editor/Debugger -> Language -> Comment formating
Uncheck "Wrap comments automatically while typing".
0 Commenti
Jon
il 25 Set 2015
Did you even look through the Editor options in Preferences? There is a button you can uncheck to turn it off.
2 Commenti
Stephen Nelson
il 27 Ago 2020
Modificato: Walter Roberson
il 14 Gen 2021
See below for actual instructions
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!