Matlab syntax highlighting of the comments

Jwpark 2 years ago in iPad updated 2 years ago 1

Comments within MATLAB code (.m files) are not well-highlighted(or perhaps dimmed), or not detected at all.

I suppose comments within source code are better to be dimmed, having same colors.

Symbol % stands for the comment in MATLAB, however the app seems to ignore the comment and interpret as one of plain codes.

Thus when a quotation mark is included within comment, all codes thereafter are interpreted as string.


I was using syntax of objective-c. Give you my apologies. Changing syntax did the magic.