Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable auto-align in Sublime Text 3?

I want to auto-align my code to make it easier to read, in a click. I am working on Sublime Text 3 and want to know about a method through which I can enable auto-indent of the code in just a click.

like image 944
Utkarsh Avatar asked May 25 '17 06:05

Utkarsh


People also ask

How do I indent in Sublime Text 3?

Just Ctrl+Shift+P (or Command+Shift+P on MacOS) to open the tools pallet, type reindent , and pick Indentation: Reindent Lines .


1 Answers

I'd recommend the AlignTab extension: https://github.com/randy3k/AlignTab (with Demo)

like image 75
adibender Avatar answered Oct 01 '22 15:10

adibender