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 trialJohn Lawson
4,670 PointsA simple comment question:
What's the shortcut to comment out multiline highlighted code with "//" as done in this vid?
1 Answer
Steven Parker
229,204 PointsFor Wndows, it's CTRL + / for commenting.
And for indenting use CTRL + ] to indent in and CTRL + [ to un-indent.
Julian French
3,257 PointsJulian French
3,257 PointsMac: command + / Windows: (Ctrl or Windows) + /
I'm a mac user so I'm not 100% on which of the windows buttons works but just try either and you'll get it!
Hope this helps.