-
-
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
Refactor file preferences #6779
Conversation
The JabRef maintainers will add the following name to the AUTHORS file. In case you want to use a different one, please comment here and adjust your name in your git configuration for future commits.
|
d04a14a
to
4147133
Compare
…rences # Conflicts: # src/main/java/org/jabref/preferences/JabRefPreferences.java # src/main/java/org/jabref/preferences/PreferencesService.java
The JabRef maintainers will add the following name to the AUTHORS file. In case you want to use a different one, please comment here and adjust your name in your git configuration for future commits.
|
switch (initialAutoLinkPreferences.getCitationKeyDependency()) { | ||
case START -> autolinkFileStartsBibtexProperty.setValue(true); | ||
case EXACT -> autolinkFileExactBibtexProperty.setValue(true); | ||
case REGEX -> autolinkUseRegexProperty.setValue(true); |
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.
default missing?
@calixtus Note 1: in the new |
@mlep I reworded the tab again to FileTab. |
@calixtus Thank for clarifying. In the future, will Happy JabCon20! |
Yes, thanks for that thought. Refactoring the preferences is a lengthy process I'm working on since some time now and especially here I was pretty clueless about how to reorder them. |
Thank you for your explanation. |
The opposite is the case, I'm thankful for critics, feedback and people thinking about the future in this matter. |
This PR is going to refactor some parts of the code in relationship with the FilePreferences. It's going to be rather big again, since FilePreferences and other Preferences objects are not clearly distinguishable and this will take probably some time for me to contemplate how to resort them.
Work in progress, but here for you to preview and to comment, if you have some good ideas.