wrapping comments immediately following a line of code

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

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

Hi Phillip,
This issue in wrapping comment is known and the concerned parties may be investigating further.
Hope this helps!

Categories

Tags

Asked:

on 7 May 2020

Answered:

on 19 May 2020

Community Treasure Hunt

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

Start Hunting!