These are chat archives for Colt/WDB-CodeTalk

16th
Aug 2016
Krista
@meloncatty
Aug 16 2016 00:16
what is that key combo colt uses to properly indent in sublime?
deej
@d3ej
Aug 16 2016 00:17
@meloncatty I think he has tab set for 2 spaces instead of 4 or something
I think you can diddle the setting within sublime but I have not tried myself
Krista
@meloncatty
Aug 16 2016 00:18
sometimes he'll highlight code and properly indent it but i'm not sure how
Boomer
@boomer1204
Aug 16 2016 00:19
@meloncatty it's call "re indent". There is no stock keyboard shortcut for it but alot of developers have set it up on their OS cuz it's such a used feature
deej
@d3ej
Aug 16 2016 00:19
Oh! Just highlight it and hit tab?
Boomer
@boomer1204
Aug 16 2016 00:19
@d3ej that works if they are already pre aligned and you need to move them as a whole
deej
@d3ej
Aug 16 2016 00:19
It worked natively in sublime for me on Debian 8
Ah crap. I'm not sure what you're both talking about then. Like it knows how to align text automatically or something?
Krista
@meloncatty
Aug 16 2016 00:20
yeah if i just hit tab it moves everything over as a whole
Boomer
@boomer1204
Aug 16 2016 00:20
@d3ej correct
it's called reindent. It takes the code and w/e your preferences are for tabbing/indentation and adjust it all
deej
@d3ej
Aug 16 2016 00:20
Damn I never noticed him doing that. That's a sick feature tho
Krista
@meloncatty
Aug 16 2016 00:20
i know i could just google this ;p sorry
Joseph Riley
@roejiley
Aug 16 2016 00:53
building a portfolio can be so frustrating