Home Download Buy Blog Forum Support

Remove Space From CSS Completion

Remove Space From CSS Completion

Postby emrl on Thu Aug 23, 2012 7:27 pm

When writing CSS, I write my rules like so:
Code: Select all
div {width:50px; background:blue;}


But when using completions, after hitting tab, the colon is inserted, but with a space after it. Is there a way to only insert the colon, and no space?

Thanks.
emrl
 
Posts: 2
Joined: Thu Aug 23, 2012 7:25 pm

Re: Remove Space From CSS Completion

Postby simoncereska on Tue Sep 04, 2012 12:45 pm

Maybe you found a way to fix it?
simoncereska
 
Posts: 1
Joined: Tue Sep 04, 2012 12:38 pm

Re: Remove Space From CSS Completion

Postby emrl on Mon Sep 17, 2012 10:47 pm

Nope, I haven't found a way yet. Hoping to hear from someone on how to though.
emrl
 
Posts: 2
Joined: Thu Aug 23, 2012 7:25 pm

Re: Remove Space From CSS Completion

Postby nick. on Tue Sep 18, 2012 12:14 am

Untested, but open Packages/CSS/css_completions.py and remove the space after the colon on line 190.

As this is in the Default packages, you'd have to make this change after every update.
nick.
 
Posts: 266
Joined: Wed Jan 18, 2012 3:45 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 15 guests