question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Special Fields

See original GitHub issue

The 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:open
  • Created a year ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ThiloteEcommented, Nov 6, 2022

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…

1reaction
ThiloteEcommented, Nov 1, 2022
  1. 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:

    grafik

    You can add any type of custom field by simply typing in your custom field manually, e.g. like this:

    @Article{fox,
    ThisIsACustomField = {just an example for field content},
    }
    
  2. 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: grafik

    2.2 How to let them show in the entry editor: A) Do nothing and they simply will show in the “Other fields” tab: grafik

    B) Do something and go to Options > Customize entry types There you can add them to customized tailored entry types. grafik

  3. So what do we need for custom special fields?

    • A) Add feature that allows users to add colours and symbols to custom fields somewhere.
    • B) Add a few more hard coded custom special fields that developers of JabRef choose to be part of JabRef by default.

    I think option A is preferred, but I have no clue how to implement this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Salesforce CPQ Special Fields
Field Object/. Location Data Type AdditionalDiscountUnit Quote Line Picklist AdditionalInstructions Product Feature Text ApplyAdditionalDiscountLast Quote Formula as number
Read more >
Twin Fields & Special Fields - Apex Hours
The values pass if the custom fields are editable, have matching field types, and have matching API names. These field pairs are known...
Read more >
Custom Special Fields - Ultimate Membership Pro - WpIndeed
Custom Special Fields – are used by the system to accomplish certain special features and are provided by default.
Read more >
ACF | Advanced Custom Fields Plugin for WordPress
Advanced Custom Fields for WordPress Developers. · Add fields on demand. Our field builder allows you to quickly and easily add fields to...
Read more >
Special Fields - AnkiWeb
UPDATE 29/11/20: Anking updated addon This update forces note types to update to the importing deck's note type if they don't match. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found