Bold keywords in editor
10 次查看(过去 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!