MBeautifier icon indicating copy to clipboard operation
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.

Results 30 MBeautifier issues
Sort by recently updated
recently updated
newest added
trafficstars

When running `MBeautifier.formatFiles` with `editor=true` (or `MBeautifier.formatFile(file, file)`), the file is always closed even if it was already open in the editor. I would prefer any files I currently have...

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....

Running from the commandline with matlab.exe -r or matlab.exe -batch opens many MATLAB windows instances. Tool works as expected but takes a while on my machine.

I am wondering if this package have a feature to align scripts based on semi-columns? e.g. ``` par.a = 1; free.a = 1; note.a = 'notea'; par.b = 2.34; free.b...

enhancement
help wanted
directive

if there is a command like `clearvars -global var1` the command will be destroyed in `clearvars - global var1`

Avid misdetection of transponation in character 12: mystr = "A '" + b' + "'";

``` disp( [ 'Error: ' ME . message ] ); disp( [ 'Error: ' ME .message ] ); disp( [ 'Error: ' ME. message ] ); disp( [ 'Error: '...

bug
help wanted

I would like to use this tool in a CI/CD pipeline. Specifically, I would like to block a Pull Request if there are any formatting violations. For this purpose I...

I have been using MBeautifier in Matlab 2019 to flag which files need to be beautified. This is basically a "for" loop over a list of files. In Matlab 2022,...

help wanted