Bold keywords in editor
14 ビュー (過去 30 日間)
古いコメントを表示
I was wondering if it was possible to make keywords in the matlab editor bold, instead of just changing their default color. This feature is pretty common in most other code recognition editors?
0 件のコメント
回答 (2 件)
Michael Gonzalez Vasquez
2021 年 1 月 31 日
Why some comments NOT in bold? For example, i write this comment inside any function.
function total = something(...)
% This comment is a BOLD KEYWORD
% But this COMMENT not, even when I write it in caps.
if ...
...
end
end
1 件のコメント
Walter Roberson
2021 年 1 月 31 日
First line of comments in a function is the H1 line. https://www.mathworks.com/help/matlab/matlab_prog/add-help-for-your-program.html
Sean de Wolski
2011 年 5 月 5 日
For viewing purposes?
If you're in Cell Mode the header line of each cell will be in bold.
%%I'm bold if cell mode is on
Note double %%
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!