When working in CSS (or SCSS/SASS files) with Sublime Text 2, I’d like to automatically add a space after the colon. How can I do that?
What it currently does:
body {
color:red;
}
What I want:
body {
color: red;
}
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.
Add this line:
To your
.config/sublime-text-2/Packages/User/Default (Linux).sublime-keymap(in menus:Preferences>Key bindings User) File. Now everytime you press:,:and a space will appear… 🙂