Custom Special Fields
See original GitHub issueThe special fields of JabRef are a very important feature in my opinion since they offer the ability to classify your literature. This is also possible by using the groups feature but special fields have the advantage to have custom icons and multiple “modes” like “read”, “skimmed” and “to be read”.
Is your suggestion for improvement related to a problem? Please describe. I’m always a bit frustrated that the existing special fields don’t have any option for customization. For example an option like “skimmed and needed parts read” would be nice or not only the “quality assured” option but rather something like “low quality”, “medium quality”, “high quality” and “quality unchecked”.
Describe the solution you’d like My suggestion is that
- the existing special fields are extended, similar to what I suggested
- or, as a more flexible approach, adding an option for custom special fields. I would limit this to the ability to have the option “not set” and for every mode a icon with a color, similar to how it is already done with the other special fields, except the stars.
Some Notes on the Code
I only had a rough look on the code for this, but as far as I can see so far, the three files
src/main/java/org/jabref/model/entry/field/SpecialField.java
src/main/java/org/jabref/model/entry/field/SpecialFieldValue.java
src/test/java/org/jabref/gui/util/comparator/SpecialFieldComparatorTest.java
would require more or less major changes, additionally a dialog window and the saving would have to be implemented (maybe the saving is already automated?!)
What do you think about this suggestion?
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (4 by maintainers)
Refs #8739 Because we do not have a proper tags, keyords or labels implementation, we now have people asking to add more “special fields” to JabRef, but it will never be enough. Developers can choose to give people some fish everyday, or create a fishing rod that is customizable and upon setup fishes on its own…
It is possible to create custom fields already.
JabRef is Bibtex/Biblatex native and if you go to the
{} biblatex source
tab in the entry editor, you can see the raw data of your entry:Just an example:
You can add any type of custom field by simply typing in your custom field manually, e.g. like this:
How to show your custom fields in the entry editor or in the main table?
2.1 How to let them show in the main table: Simply type in your custom field and add them in the preferences as shown in the screenshot below:
2.2 How to let them show in the entry editor: A) Do nothing and they simply will show in the “Other fields” tab:
B) Do something and go to
Options > Customize entry types
There you can add them to customized tailored entry types.So what do we need for custom special fields?
I think option A is preferred, but I have no clue how to implement this.