-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Write all field keys in lower case #560
Conversation
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
class CamelCaser { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That class might have been useful as a future formatter, but nevermind. We can rewrite it if needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also found the class a good example for good code. However, we decided to remove unused code.
20a2d56
to
d948c1d
Compare
Maybe, the UI also has to display lower case values or should it use the (currently removed) CamelCase functionality? I don't like the current |
In my opinion, it should use lower case, since we are standardizing on that. I'd say you are free to implement what you find more beautiful :) |
👍 on lower case. |
Write all field keys in lower case
* BibTeX information in web search import screen. (#560) * BibTeX information in web search import screen - add toggle button (#560) * fixing style issues * fixing some repo issues (#560) * move logic to viewModel (#560) * changing headers (#560) * fix typo (#560) * further changes... (#560) * Refine text --------- Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
Write all field keys in lower case. No more camel casing of field names. E.g.,
title
is written instead ofTitle
,howpublished
instead ofHowPublished
, anddoi
instead ofDOI
. The configuration optionUse camel case for field names (e.g., "HowPublished" instead of "howpublished")
is gone.Refs #116