davidvarga / MBeautifier

MBeautifier is a MATLAB source code formatter, beautifier. It can be used directly in the MATLAB Editor and it is configurable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Worng indentation with formatFileNoEditor

Wave89 opened this issue · comments

commented

if there keywords like "if", "while", "for", "function" in comments (e.g. "% this should be done while ...") , strings (e.g. variable1 ="while the sun is shining") or commands (e.g. "dbstop if error") the function formatFileNoEditor is not working properly with indentation.