CSS - Enter Colon After Autocomplete
-
Hi,
I’m wondering if there’s a way so to have the CSS autocomplete enter a colon at the end of the current selection?
For example, type “marg”, select “margin-left” from the pop-up autocomplete selector box, and press enter to select that option. You’re then left with “margin-left” typed out. I’m looking to see if it’s possible to have it type out “margin-left:” with the colon at the end of the property when you hit enter to select it?
Cheers.
-
Hi Bruce,
if this should always happen you can modify the particular api file located
under YOUR_INSTALLATION_PATH\Notepad++\plugins\APIs.E.g (css.xml)
…
<KeyWord name=“margin-bottom” />
<KeyWord name=“margin-left:” />
<KeyWord name=“margin-right” />
…Cheers
Claudia -
Absolutely perfect, cheers mate.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login