Jump to content

Red Not-Valid Snippets


Recommended Posts

Posted
5 hours ago, P. Colin Manikoth said:

Do the 2nd, 3rd, etc. characters have to be unique also for a Snippet to expand?

 

One snippet keyword can’t be a prefix of another if you have auto expansion turned on. How could that work? You could never type :uxd because Alfred would auto-expand as soon as you typed :ux.

Posted

@P. Colin Manikoth As deanishe explains, the second snippet could never be typed as the first one would expand.

 

If what you want is to type the full snippet keyword and for Alfred to only expand when you type a space afterwards, you can either add the space to your keyword itself (e.g. ":ux " noting the space after the x) or add it as a suffix for the entire collection. In that case, your second snippet would become possible.

 

Cheers,
Vero

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...