0

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?

1 Answer 1

1

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.

Edit

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.

Edit2

Here's a similar question: How to remove extra space after a colon in CSS with Sublime Text 2?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.