imagej / imagej/imagej2

Consolidate options, prefs and config logic

Open
#95 2 comments 0 reactions 0 assignees View on GitHub
deployment
Dominant language
Java
Stars
1.4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Currently, we have a package `org.scijava.options` with an `OptionsService`, as well as a separate `net.imagej.config` package with a `ConfigFileParameters` class for working with the ImageJ.cfg launcher file. We also have `org.scijava.util.Prefs` for managing persistence of key/value string pairs.

We should strongly consider consolidation of all these, eliminating any redundant concepts.

Migrated-From: http://trac.imagej.net/ticket/1451

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading org.scijava.options.OptionsService, net.imagej.config.ConfigFileParameters, and org.scijava.util.Prefs to map their responsibilities and overlapping concepts. Compare how each handles configuration or persistence, then define a consolidation plan and verify that the existing launcher-file and key/value preference use cases remain covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.