{"repo":"davidvarga/MBeautifier","free":true,"listed":false,"github":"https://github.com/davidvarga/MBeautifier","clone":"git clone https://github.com/davidvarga/MBeautifier.git","description":"MBeautifier is a MATLAB source code formatter, beautifier. It can be used directly in the MATLAB Editor and it is configurable.","language":"MATLAB","stars":519,"topics":["matlab","sourcecode","formatter","beautifier","beautify","matlab-source","matlab-editor","code-formatter"],"license":"GPL-3.0","category":"dev-tools","readme_excerpt":"MBeautifier MBeautifier is a lightweight M-Script based MATLAB source code formatter usable directly in the MATLAB Editor. Main features ------------- - Padding operators and keywords with white spaces - Configurable indentation character and level. Indentation using the Smart Indent functionality of the MATLAB Editor - Removal/addition of continuous empty lines - Inserting missing element separators (commas) in matrix and cell array initializations - Insert missing continuous symbol line in matrix and cell array initializations - In-lining continuous lines - Formats the current page of the MATLAB Editor or only a selection in the MATLAB Editor or file(s) - While everything above is configurable in a single XML file Deployment and Configuration ---------------------------- Simply add the root directory to the MATLAB path. Configuration The configuration can be modified by editing the MBeautifier\\resources\\settings\\MBeautyConfigurationRules.xml file. Configuration rules Currently three types of configuration rules are implemented: Operator padding rule , Keyword padding rule and Special rule . Operator padding rules Each OperatorPaddingRule represents the formatting rules for one single operator and consists of a key, the string that should be replaced and a string that should be used for the replacement. NotEquals = = The example above shows the rule for the \"not equals\" operator. The ValueFrom node stores the operator = and the ValueTo node stores the expected format: the op","default_branch":null,"files":null,"tree":[],"storefront":"/r/davidvarga","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/davidvarga/MBeautifier/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}