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

HTML HTML Basics Structuring Your Content Grouping Content with <main> and <div>

How to indent in Macbook pro? It doesn't work just pressing cmd + ] because (+) (*) (]) are in the same Item.

Hi, I have been trying to indent in Mac and been looking for possible solutions but haven't found one yet. The only way to do a "]" is pressing alt+]. Therefore, when I press cmd + ], the computer would take it as cmd+ "+", not as cmd +"]". I've tried too to press cmd + alt+ "]" but it does not work.

Thanks in advance for your time :)

I posted this for another question, but putting it here in case someone else has the same question... After seeing that you have already tried cmd + Alt + ] and that didn't work, then I would propose that you use a different keyboard shortcut altogether. If you go to File --> Preferences --> Keyboard Shortcuts, you can go down to the "Indent Line" command and click the little pencil icon to the left of it and then define your own keyboard shortcut.

1 Answer

Charlie Palmer
Charlie Palmer
15,445 Points

When you ask how to indent, are you referring to the spacing along the margin you use in your IDE? I feel like I've misunderstood but if it is that then wouldn't it just be tab?