Reputation: 20658
When I type "he" SublimeText2 offers me "height". Good.
However when I confirm I want to have
height:|;
instead of height: |
(| indicates the cursor).
Where to change that?
Upvotes: 0
Views: 554
Reputation: 4119
Go to your Packages folder. Then to the CSS
folder. Open css_completions.py
.
Almost at the bottom, inside of the on_query_completions
method, there is a line
l.append((p, p + ": "))
change to:
l.append((p, p + ":"))
Remove the space after the colon.
Press tab after entering value to get semicolon.
Also, Emmet is worth checking out for nice completions/snippets and more. However, editing those is another question.
Here's a similar question: How to remove extra space after a colon in CSS with Sublime Text 2?
Upvotes: 1