intellij-community
intellij-community copied to clipboard
IDEA-257690 Add settings for validation of branch name
Add to the Settings menu, under Version Control | Git | Branching:
- Checkbox to toggle if validation runs
- Dropdown to select the string used to replace invalid branch name entries
- Replacement strings selectable are an empty string, hyphen, or underscore
- Checkbox to toggle if branch name is converted to lower case
- Dropdown to select the maximum number of consecutive underscores allowed
Add checkbox to toggle if validation runs to the new branch name dialog.
Hey @dmitriysmirnovjb, I forgot to add tests for git4idea.validators.GitRefNameValidator#cleanUpBranchNameOnTyping in git4idea.config.GitRefNameValidatorSettingsTest. I'll add a commit for that change a little later today.
Would love to see this merged, would be a great QoL improvement. Anything specific holding this back @dmitriysmirnovjb ?
Good day, do we have any update on this one? Will it get merged some day? Thanks for info in advance.
Hey @ybedrov and @dmitriysmirnovjb, do you need me to resolve conflicts, or adhere to a requirement before this can be merged? I would like to see this merged in, since it impacts my workflow.
@MitchyGoodness you are godsent! Could you please resolve conflicts so that admins can merge? There are 6 different tracked issues and a bunch of twitter posts wanting this feature. IDEA-257690 nicknamed To Hell with underscores Our entire team would be super happy to get this feature.
@reseto sorry for the wait! The conflict has been resolved.
Hi, Any news on the release date of this feature ? We are very looking forward to use this feature in our company 👀
Issue fixed by Dmitriy Smirnov