You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When one wants to have this hierarchy in JabRef, one needs to manually create groups and sub groups.
A new type of group "Directory structure" should be created:
JabRef then mirrors the directory structure in the group tree. Sub groups are automatically created.
Currently: Only inbound mirroring. Use WatchService to watch for changes.
All BibEntries having a file in the selected directory belong to that group.
File added to a folder -> automatically added to the respective group and a new BibEntry created (with PDF import)
Implementation hint:
A user selects the root directory, all sub groups are automatically updated (created and remved) by JabRef upon file system changes.
Implement a DirectoryUpdateMonitor (similar to org.jabref.model.util.FileUpdateMonitor) which watches directories and sends updates to the group tree (see third bullet point at Add FileMonitor for LaTeX citations #10937 (comment) in another context)
⚠️ Do think of handling the case when a group with the same directory name already exists. ⚠️
Future work:
Group moved -> On file system also renames and BibTeX entry "files" field adapted accordingly
Group renamed -> On file system also renamed and BibTeX entry "files" field adapted accordingly
file moved -> entry assigned to another group BibTeX entry "files" field adapted accordingly
As user, I organize my PDFs in folders. Example:
When one wants to have this hierarchy in JabRef, one needs to manually create groups and sub groups.
A new type of group "Directory structure" should be created:
JabRef then mirrors the directory structure in the group tree. Sub groups are automatically created.
Currently: Only inbound mirroring. Use WatchService to watch for changes.
All BibEntries having a file in the selected directory belong to that group.
File added to a folder -> automatically added to the respective group and a new BibEntry created (with PDF import)
Implementation hint:
DirectoryUpdateMonitor(similar to org.jabref.model.util.FileUpdateMonitor) which watches directories and sends updates to the group tree (see third bullet point at Add FileMonitor for LaTeX citations #10937 (comment) in another context)Future work:
Related issues: