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 How to Make a Website Creating HTML Content Add Image Gallery Content

Robert Hernandez
Robert Hernandez
9,357 Points

You can also use tab to indent and shift+tab to de-indent multiple highlighted lines, right?

This works for me on Mac OS X Yosemite and prior. I think it also works on Windows. This feels more natural for my fingers, using a QWERTY keyboard and home row typing in combination with the mouse, and it's quicker for me. My $0.02.

I hope this helps!

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

That doesn't work for me. (Also using Macs with multiple OS). If I highlight multiple lines and hit tab, the lines delete and a tab replaces them.

Personally for multiple lines at once, I use Command + [ (de-indent)

or Command + ] (indent)

Robert Hernandez
Robert Hernandez
9,357 Points

Jason,

Odd. I just verified that I am able to use tab or shift+tab to indent/de-indent with both Chrome and Firefox on Yosemite in the TTH.com workspace environment and in Enthought Canopy. I wonder if it is a system or browser setting I changed somewhere in the past...

Thanks for the reply!

Take care,

Robert