Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Idris Zeren](https://secure.gravatar.com/avatar/ae869de13845fa2b3aa9871486395c45?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Idris Zeren
1,568 Pointsi can not indent the code with CTRL and Closing bracket ??
Like described i tried to indent the code with CTRL or perhaps COMMAND but it doesnt work???
7 Answers
![Jason Anders](https://uploads.teamtreehouse.com/production/profile-photos/3512822/micro_Jason_s-Pic.jpg)
Jason Anders
Treehouse Moderator 145,859 PointsWindows machines don't have a command
key, but Macs do have a CTRL
(Control) key. If you're on a Mac, it is Command + ]
. (Are you using the square brackets
?)
Also, if you're not using a code editor (eg: Atom, Sublime Text, etc...) that command doesn't work on plain text editors (eg. Notepad).
I hope one of us was able to solve your problem.
:)
![Michelle Aldén](https://secure.gravatar.com/avatar/b594d132bf408366947055ecccf16360?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Michelle Aldén
6,726 PointsHighlight the section you want to indent and then press Tab
![Akki Paunila](https://secure.gravatar.com/avatar/fa08f691d0170707a118e726f7cca945?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Akki Paunila
1,675 PointsMust be my Scandinavian type of keyboard, that opens the recent tab for me. Well, I'll have to leave it for now, don't want to be stuck because of that when everything else rolls nicely.
![Idris Zeren](https://secure.gravatar.com/avatar/ae869de13845fa2b3aa9871486395c45?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Idris Zeren
1,568 PointsWell i am using a windows laptop and the command in this case is CTRL + ? // i searched on google for the issue... thank you for the fast response..
![nicolacarrucciu](https://secure.gravatar.com/avatar/28fb58055bfc8140e745db4cee5cecb3?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
nicolacarrucciu
1,484 PointsOn windows select test and press Tab to indent code in threehouse workspaces.
![Akki Paunila](https://secure.gravatar.com/avatar/fa08f691d0170707a118e726f7cca945?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Akki Paunila
1,675 PointsWhat exactly is the combination for windows keyboard? Please just the answer without any confusing explanations.
![Akki Paunila](https://secure.gravatar.com/avatar/fa08f691d0170707a118e726f7cca945?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Akki Paunila
1,675 Points"Nicola Carrucciu on Oct 10 On windows select test and press Tab to indent code in threehouse workspaces."
Doing this the whole selected text disappears.
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsAs mentioned in the question title, it's Ctrl + ] (for workspaces and certain editors). Perhaps Nicola Carrucciu might mention which windows editor that tab technique works on.
![Victor Rebello](https://uploads.teamtreehouse.com/production/profile-photos/9629192/micro_joshua.jpg)
Victor Rebello
2,322 Pointson windows it is CTRL + closing square brackets.
![Tarald Johansen](https://secure.gravatar.com/avatar/f49e173f5fda4a93eb55fdf237297de7?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Tarald Johansen
555 PointsHey, to explain it as easy as possible without any confusing bs, since you are using a windows keyboard the only thing you have to do is highlight the text you want to indent then you hit the tab button on the keyboard.