Serhioromano / vscode-gitflow

Git Flow extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=Serhioromano.vscode-gitflow
MIT License
40 stars 8 forks source link

replace SPACE with _ underscore #33

Closed Lefthandmedia closed 2 years ago

Lefthandmedia commented 2 years ago

Hi,

When i start a new feature i ussualy give it a name prefixed with a number. Sourcetree is nice enough to replace the spaces in the branchname i hapen to type with underscores. Since spaces are illegal in branchnames apparantly Vscode-gitflow does not do this. in fact it just does not create the branch at all without any feedback. So when i create a branch in vscode-gitflow MYPROJECT-12345_This is a stupid branch i expect it to be changed to the legal branchname MYPROJECT-12345_This_is_a_stupid_branch so it can and will be created.

tnx RDG

Serhioromano commented 2 years ago

Done. Easy to fix. New version 1.3.9 has this fix. Please do not forget to rate this extension here https://marketplace.visualstudio.com/items?itemName=Serhioromano.vscode-gitflow&ssr=false#review-details

mackelito commented 2 months ago

It would be nice to have this separator in config.. I would like to have it named using - instead of _

Serhioromano commented 1 month ago

It would be nice to have this separator in config.. I would like to have it named using - instead of _

Working on it. Will be in new version later today.