Auto-indenting on Sublime Text 3
Just add this binding to your "Key Bindings - User" file:
{"keys": ["alt+shift+f"], "command": "reindent", "args": {"single_line": false}}
You can also use the "reindent" feature through the command palette.
Written by Osvaldo Zonetti
Related protips
15 Responses
bless you
over 1 year ago
·
It work. Thks you. Really, bless you :)
over 1 year ago
·
Life-saver. Thanks!
over 1 year ago
·
Thankssssss, I love you!
over 1 year ago
·
Really Thank You
over 1 year ago
·
This is gold for a order-maniac like me
over 1 year ago
·
Bless you! (y)(y)
over 1 year ago
·
Made my day, thank you 👍
over 1 year ago
·
Love this tip. Worked perfectly for me.
over 1 year ago
·
TY <3 <3
over 1 year ago
·
thanks a lot you save me :*
over 1 year ago
·
it hurts me that sublime doesnt have this as default
over 1 year ago
·
Life saver tips! Thanks a lots.
over 1 year ago
·
Gotham deserves !
over 1 year ago
·
It's great that Key Bindings - User have such simple logic, but it's quite interesting. Thks
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#