Are there any command/shortcut to auto-indent all my code on the page at once on Sublime Text 3?
e.g: On NetBeans I can do this with Alt+Shift+F.
That's quite simple in Sublime. Just Ctrl+Shift+P
(or Command+Shift+P
on MacOS) to open the tools pallet, type reindent
, and pick Indentation: Reindent Lines
. It should reindent all the file you are in, just remember to save before running the command, or it may not appear.