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 trialIdris 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
Treehouse Moderator 145,860 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
6,726 PointsHighlight the section you want to indent and then press Tab
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
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
1,484 PointsOn windows select test and press Tab to indent code in threehouse workspaces.
Akki Paunila
1,675 PointsWhat exactly is the combination for windows keyboard? Please just the answer without any confusing explanations.
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
231,275 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
2,322 Pointson windows it is CTRL + closing square brackets.
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.