Skip to content
/ invent Public

The first (not legally checked) code formatter that boosts your productivity and throughput by at least 200%

Notifications You must be signed in to change notification settings

DJARUUN/invent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invent

invert + indent = invent

A very serious code formatter that does what everyone has been missing. OUTdenting your code! Gone are the days of code inside of code being indented two or four or whatever spaces.

This tool lets you do the exact opposite. It takes any file or directory you specify and inverts it's indentation. Or should I say, outdents your code!

For me this has been the most beneficial change made in my projects boosting both productivity and throughput.

Installation / usage

Just download the binary for your operating system from the releases. If it says something about permission issues you have to run chmod +x invent to give it executable permissions.

Health and Safety

Do not and I mean NOT run this on a directory with a bunch of files that aren't plain text files. There are attempts to make it ignore those types of files but it may still find them and it will not be a good day for anyone when it tries to outdent an executable file, for example.

From my small testing this should not really happen, but it very much does sometimes, so just be careful to not actually mess anything up.

Also don't run this on any files of intendation based languages because it will ofcourse break them completely, and just running it again doesn't really fix it to what it was (I feel like it should but it doesn't).

Use at your own risk. I've done my best to make it safe but things can still very much break.

About

The first (not legally checked) code formatter that boosts your productivity and throughput by at least 200%

Topics

Resources

Stars

Watchers

Forks

Languages