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!

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

CSS CSS Layout Basics CSS Layout Project Creating and Styling the Layout Containers

What is the key command he uses to indent a selection of text to make it look more presentable?

Asking for a friend

2 Answers

Aaron Bailey If you are using Visual Studio Code the hot keys for auto formatting code on a Mac: "Shift Option F" and on a Windows "Shift Alt F". Let me know if that answers your question properly!

Austin Whipple
Austin Whipple
29,725 Points

In addition to the auto-formatting options Ryan pointed out, you can also use cmd + ] when you have a multi-line segment of code selected. This will indent that entire chunk.