Cleanup Code Before Commit

Remove all the redundant parenthesis and other unneeded code before commit.

Sometimes an extra pair of parenthesis make their way into our code. Since it's not needed to improve the clarity or help the code function in any way, it's better to remove it. That's why, it's useful to run a Cleanup step before the code reaches upstream.

Invoke the Commit using ⌘K (macOS) / Ctrl+K (Windows/Linux), then select the Commit options, and select the Cleanup feature.


Related Resources

Search Text in Local History
Search Text in Local History
Find exactly what you are looking for, even if you removed it
Run Inspections Before Commit
Run Inspections Before Commit
Catch all issues before your code before you commit it.
Sign Git Commits with GPG Keys
Sign Git Commits with GPG Keys
Improve the security of your commits by using GPG keys.