In Sublime Text 2, how do I enclose a selection in a comment?
Is there a keyboard shortcut for this action?
In Sublime Text 2 , how do I enclose a selection in a comment
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By default on Linux/Windows for an English keyboard the shortcut is Ctrl+Shift+/ to toggle a block comment, and Ctrl+/ to toggle a line comment.
If you go into
Preferences->Key Bindings - Default, you can find all the shortcuts, below are the lines for commenting.