Bold keywords in editor

14 vues (au cours des 30 derniers jours)
Peter
Peter le 5 Mai 2011
Commenté : Walter Roberson le 31 Jan 2021
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?

Réponses (2)

Michael Gonzalez Vasquez
Michael Gonzalez Vasquez le 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 commentaire
Walter Roberson
Walter Roberson le 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

Connectez-vous pour commenter.


Sean de Wolski
Sean de Wolski le 5 Mai 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 %%

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by