File Exchange

image thumbnail


version (78.1 KB) by Oleg Komarov
Improve readability of your code and keep it tidy

1 Download

Updated 28 Jul 2017

GitHub view license on GitHub

MATLAB programmatic utilities to keep your code more readable, smart indented and free of eccessive white space.

* justify() Improves readability of your code by aligning the assignment operator of a block of code (see image below for example)
* smartIndent() Applies smart indent programmatically. See the ufficial TMW blog for supported modes.

For a quick overview of justify, see the .gif.

Cite As

Oleg Komarov (2020). okomarov/TidyCode (, GitHub. Retrieved .

Comments and Ratings (2)


Nice work.



re-updated description

Updated repo name

edited description, added smartindent

Added .gif

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux