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
If you click on the "Edit" menu on the top of the workspace you will find a list of various formatting actions that can be done automatically, like indenting or commenting code. All of those actions also have a keyboard shortcut associated with them that is listed next to the action.
The shortcut used in this video is ctrl + / which toggles line comments. It's worth noting that this shortcut will only work if you have a keyboard with a dedicated / button, which is not guaranteed as a number of European keyboard layouts do not include a dedicated key for forward slashes.