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

Align Hotkey - HTML

Hi Treehouse Teachers,

Quick easy question here: I can't remember what the align hotkey is for indenting my html code according to my tab settings. I can't find it in the beginner HTML videos, and I thought it was command + tab, but that isn't doing it.

Any help would be great!

command ] to indent further command [ to indent less

Hope that helps!

2 Answers

Amazing, thank you!

Is there also a hotkey for cleaning up all incorrect indentation for lines of code? For instance if several lines of code are indented differently, is there a hotkey for aligning them all back to the default tab/indentation ?