srmeyers / git-prefix

Visual Studio Code Extension - Prefix commit message with value in branch name.
https://marketplace.visualstudio.com/items?itemName=srmeyers.git-prefix
MIT License
22 stars 14 forks source link

feat: use replacement as a function #5

Closed ddcq closed 4 years ago

ddcq commented 4 years ago

My branches use the naming pattern described here. Moreover, they use dashes instead of spaces. So I need a more powerful replacement feature.

srmeyers commented 4 years ago

Nice job. I'm going to change the eval() to use Function() and publish it tomorrow.

Thanks!

ddcq commented 4 years ago

I've just tested the 1.2 version. That works fine ! With that extension, everything is now possible. Thank you to accept my contribution.