wrapping comments immediately following a line of code

2 views (last 30 days)
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 Comments
Phillip Maire
Phillip Maire on 7 May 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 on 7 May 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.

Sign in to comment.

Answers (1)

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

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!