Jump to content

Snippit affix and suffix improvements


Recommended Posts

It would be great if the snippit collection affix and suffix are more flexible.

At the moment they are specific specified characters.

 

Instead make them a regex expression. For example

 

Suffix = regex \d would trigger the keyword only when followed by any digit (great for currency symbols)

Suffix = regex \p{P}\p{Z}\r\t would trigger on any delimiter (in any language)

 

This would be a very powerful feature.

Link to post
Share on other sites
On 4/7/2021 at 7:17 AM, mtissington said:

It would be great if the snippit collection affix and suffix are more flexible.

At the moment they are specific specified characters.

 

Instead make them a regex expression. For example

 

Suffix = regex \d would trigger the keyword only when followed by any digit (great for currency symbols)

Suffix = regex \p{P}\p{Z}\r\t would trigger on any delimiter (in any language)

 

This would be a very powerful feature.

This is possible via workflows, which I know you’d probably prefer native snippet support for that, but possibly in the mean time this is a solution

Link to post
Share on other sites

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...