wrapping comments immediately following a line of code

1 visualizzazione (ultimi 30 giorni)
Hello everyone this has been raised before and I'm wodering if there is ANY workaround to this.
here is a link to a previous question the what I'm refering to, see the commoent in the answer.
Basically I want comments to automatically wrap no matter what, even if they follow a line of code.
|
|
|
|
tmp_var = 'wrapping comments immediately following a line of code';%this| passes the wrap threshold but doesn't wrap
|
|
|
|
|
thanks
  3 Commenti
Phillip Maire
Phillip Maire il 7 Mag 2020
Yes that is the link i meant! thanks for catching this! does this annoy anyone else, it makes me cring every time. It would be so nice to have a neat wrapped comment for when you need to eplain something in code. thanks again
Rik
Rik il 7 Mag 2020
Personally I'm of the opinion that a longer comment shouldn't be behind code anyway, which prevents this issue from ever comming up. But that is just personal taste.

Accedi per commentare.

Risposte (1)

Payas Bahade
Payas Bahade il 19 Mag 2020
Hi Phillip,
This issue in wrapping comment is known and the concerned parties may be investigating further.
Hope this helps!

Categorie

Scopri di più su Graphics Objects in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by