wrapping comments immediately following a line of code

2 次查看(过去 30 天)
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 个评论
Phillip Maire
Phillip Maire 2020-5-7
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 2020-5-7
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.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Graphics Objects 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by