Sublime Forum

Add regex check to the Commit Messages Preferences

#1

I’d really like to add a new field to the commit messages preferences in the GUI to add an option to apply a regular expression, with a regex check before committing the message (I’m thinking a simple red x/green checkmark next to the commit message as you type it). Anybody already have this written or can tell me where on earth to start with that?

0 Likes

#2

Same here. Can’t find any document about it. :confounded:

0 Likes

#3

If you guys find anything do share…there should be a way around it

0 Likes

#4

This is not currently supported (AFAIK) and probably could eventually be added as part of a plugin once plugin support is added.

0 Likes

#5

Have you considered using git hooks?

1 Like