Bold keywords in editor
14 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Michael Gonzalez Vasquez
on 31 Jan 2021
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 Comment
Walter Roberson
on 31 Jan 2021
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
on 5 May 2011
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 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!