MBeautifier
MBeautifier copied to clipboard
MBeautifier is a MATLAB source code formatter, beautifier. It can be used directly in the MATLAB Editor and it is configurable.
As shown in figure below, 
  Executing in a live script clears all text,comments are fine
Given an open editor page with only one statement and no newline, I'd expect `EndingNewLineCount=1` to add a newline at the end of the file (please correct me if that's...
Hello, I found a problem or bug when i use your tool to format my code. The space will be automatically generated on both sides of the "\" or "/"...
Dear all, I want my code to align equal signs of subsequent lines, e.g. ``` a = b; longerVariable = c; ``` Is this functionality available? Best Philipp
Dear all, I want my matlab code to align corresponding columns, e.g. ``` tang = [eye(n), -h * IM, zeros(n, m); ... zeros(n), eye(n), h * G_n'; ... G_n1, zeros(n,...
Hi, thanks for keeping up the good work on this useful tool! One concerning the arguments block: The code ``` arguments varname (2, 2) double end ``` is changed into...
When using `MBeautify.formatEditorSelection()`, after formatting the selected text, [MBeautify.m#L227](https://github.com/davidvarga/MBeautifier/blob/1a57849e44662f56271dc0eefa746855698a719a/MBeautify.m#L227) then indents the entire editor page, rather than just the selection. I.e. the following code is called: ``` MBeautify.indentPage(currentEditorPage, configuration); ```...
I use this as part of a pre-commit git hook and also sometimes in large batches of files, so it would be nice to have the option of passing in...
First of all, thank you for this project! Until yesterday I was not aware that such a formatter exists and spent some time formatting things manually. This project really makes...