-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Improved CaseChangers #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Do not change words within {} (unfortunately still changes segments with spaces in). Added more words that should be kept lower case in title case.
Thanks for your pull request! One thing to discuss is the handling of curly braces...
Your solution only covers the first and parts of the second example. Anybody else another idea? |
You are correct.This limitation is mentioned (to some extent) in the commit message. The PR says improved, not perfect. :-) Third case should be manageable, the second and fourth are quite esoteric in my opinion. |
We decided in the team to support all of the four cases. Do you want to implement the remaining logic? |
At the moment, each implementation has to split the title and handle the logic to decide what is in I also vote for tests! :) |
Fixed a bug which sometimes stopped the import Replaced print outs with logging Simplified some code to avoid multiple calls
Been busy with (real) work for some time... I'm not really sure where the @Formatter:on/off should be. Can I see that somehow? While I agree that it would be excellent to add handling of all four cases, I believe that the current approach is still a major leap (making it not break all formatting at least), so I'd say go ahead and merge. I will not work on it immediately, but given that no one else does it, I guess I may eventually get around to it. |
Oh, now I also see that my next, independent, bug fix ended up in this pull request. This basically shows that I have quite limited knowledge of the GitHub and pull request system, unfortunately... Sorry about any mess caused. The idea was to create a separate pull request for the IEEEXploreFetcher bug fix (which I ran in to during the research application I was working on day and night for the last few days). |
With that said: I clearly understand the idea with pull requests. I've just not been able to figure out how to work with them (or probably more GitHub) in practice, but this seems like a subject not to continue discussion here any further. I'll read up! |
QuickTip: Create a branch for each PullRequest - all commits to this branch will end up in the same PR. |
I'll start all over and provide nice clean PRs from now on... ;-) |
Great @oscargus :-) |
New PR is #192 |
Added more words that should be kept lower case and added functionality to honor words within {}. Can readily be merged with 2.11 as well (for someone more handy with GitHub...).