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 trialDiego Romero
939 PointsIndenting more than one line at a time.
I was wondering how can I do to indent more than one line of code at a time, if it's possible.
2 Answers
Steven Parker
231,248 PointsIn the workspace editor, if you select (highlight) multiple lines and then hold the CTRL key while you type a close bracket (]), all the highlighted lines should be indented by one tab stop. Similarly, you can un-indent with CTRL-[.
Some external editors use this same command, but you'd need to check the documentation for the particular editor to be sure (or just try it!).
Diego Romero
939 PointsIt worked! Being able to do that is very useful. Thank you!