how to make comments *not* wrap?
137 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jacob Grayson
le 25 Sep 2015
Commenté : Steven Lord
le 12 Mai 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 commentaires
Réponse acceptée
Francesco Marini
le 30 Nov 2017
Go to Preferences -> Editor -> Language
Under 'Comment formatting', uncheck 'Wrap comments automatically while typing'
8 commentaires
Steven Lord
le 12 Mai 2023
Under Editor/Debugger preferences, in the Display section, unselect "Right-hand text limit".
Plus de réponses (2)
Johannes Kalliauer
le 15 Juin 2021
Preferences -> MATLAB -> Editor/Debugger -> Language -> Comment formating
Uncheck "Wrap comments automatically while typing".
0 commentaires
Jon
le 25 Sep 2015
Did you even look through the Editor options in Preferences? There is a button you can uncheck to turn it off.
2 commentaires
Stephen Nelson
le 27 Août 2020
Modifié(e) : Walter Roberson
le 14 Jan 2021
See below for actual instructions
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!