Skip to content

Fix-79525 New pattern to Preserve Case ( hyphen separated variables)#79528

Merged
rebornix merged 4 commits intomicrosoft:masterfrom
skprabhanjan:fix-79525
Aug 22, 2019
Merged

Fix-79525 New pattern to Preserve Case ( hyphen separated variables)#79528
rebornix merged 4 commits intomicrosoft:masterfrom
skprabhanjan:fix-79525

Conversation

@skprabhanjan
Copy link
Contributor

@skprabhanjan skprabhanjan commented Aug 20, 2019

@roblourens , Added this logic for hyphen casing example I mentioned in #79525.
I have handled all the edge cases I would think of , Please review this and let me know.

PS : I think underscore will also be an option ( Just like what I have done here for hyphens ) but it has to be either all hyphens or all underscore and not a mix( For example foo-bar_item ) and I know no one use names variables like that but handling it in code is complicated. ( Maybe if you say yes to underscore then I can open a new issue and then implement that.

FYI : @rebornix .

@skprabhanjan
Copy link
Contributor Author

@roblourens , Sorry is there something still pending or missing for this to get merged ?
I was hoping of getting the underscore also done after this, Thanks :)

@roblourens
Copy link
Member

It looks ok to me, but I want @rebornix to look at it too.

@skprabhanjan
Copy link
Contributor Author

Cool , Thanks a lot for the review :)
Lets wait for @rebornix to review this :)

Copy link
Member

@rebornix rebornix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me in overral, just a tiny suggestion.

@skprabhanjan
Copy link
Contributor Author

@rebornix , Fast return is done now :)

@rebornix rebornix merged commit 638632e into microsoft:master Aug 22, 2019
@rebornix
Copy link
Member

@skprabhanjan thanks for your contribution!

@rebornix rebornix added this to the August 2019 milestone Aug 22, 2019
Copy link

@djoffe djoffe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the nitpicking... Was just reading that piece of code and thought I would let you know!

@skprabhanjan
Copy link
Contributor Author

Sorry for the nitpicking... Was just reading that piece of code and thought I would let you know!

Thanks for this , Fixed it here

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants