Welcome to the Treehouse Community
Looking to learn something new?
quick command (Windows)
What is the command to indent multiple lines of code on a windows machine? you highlight all the lines, and i thought it was tab, but guess not.
I don't think Notepad comes with any features like that and I'm not sure that auto-indent is a standard keyboard facility. In other text editors this feature is available, such as Sublime, Notepad++ and most IDEs. Google doesn't reveal a solution to your problem either. I'd suggest trying out different text editors - there's lots out there. I like Sublime Text for no other reason than it was the first one I came across. That supports block indenting, like you're after and can comment out blocks of code too. It also knows how code should be indented so will assist you in getting it looking good.
Sorry I don't have the answer but I'm not sure there is one.
Have you tried highlighting the lines then using ctrl and the ] (closing square bracket) key?
Sublime is free to trial on a permanent basis so it'll ask you to purchase a licence every x-number of file saves but you don't need to buy one. It's a good piece of kit.
nope doesn't work. Thanks though.
my text editor on windows, notepad. didn't know it mattered lol
Nope, that answer was perfect. Thank you. Is sublime free?