MATLAB Answers

wrapping comments immediately following a line of code

3 views (last 30 days)
Phillip Maire
Phillip Maire on 7 May 2020
Answered: Payas Bahade on 19 May 2020
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

Rik
Rik on 7 May 2020
The link you posted doesn't contain what you are refering to. Do you mean this thread?
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!

  0 Comments

Sign in to comment.

Categories

Tags

Community Treasure Hunt

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

Start Hunting!