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 trialNoah Laurent
3,080 PointsUnable to indent ? Im using a keyboard without direct square brackets, how should I indent?
To use square brackets I need to hit alt+8 or 9; when I try to indent lines of code they just don't move. because I am hitting cmd+8 or 9 (meaning I am hitting cmd+( or )). Any hints in how dumb I am being? Thanks
3 Answers
Sean T. Unwin
28,690 PointsHave you tried Tab
or Shift + Tab
?
Is there a particular editor this is an issue with?
Noah Laurent
3,080 PointsIm on a mac, using treehouse workspaces, shouldn't it be cmd+[?
wuworkshop
3,429 PointsI'm on a mac as well and both cmd+[
as well as what Sean T. Unwin suggested, tab
, work for me in the Workspaces.
Hernan Martin Demczuk
1,264 PointsHave you tried Shift+Alt+8 or 9 . Otherwise, you can always click Edit > Indent.
Maina Sigidi
838 PointsMaina Sigidi
838 PointsI am having the same problem, my keyboard is azerty and to get square brackets i need to type shift+option+5. when I type cmd+shift+option+5 it doesn't do a thing... when I want to indent a whole section of code I get stuck.