Skip to content

Track UserScope in preference spy#2347

Open
vogella wants to merge 1 commit into
eclipse-pde:masterfrom
vogella:pref-spy-userscope
Open

Track UserScope in preference spy#2347
vogella wants to merge 1 commit into
eclipse-pde:masterfrom
vogella:pref-spy-userscope

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented May 21, 2026

Planned for 4.41

UserScope was added to Equinox preferences in eclipse-equinox/equinox#446 and stores per-user-global preferences under <user.home>/.eclipse. The Preference Spy already watches BundleDefaults, Configuration, Default and Instance, so user-scoped changes were silently missed. This PR registers the same change listener on UserScope and includes it in the Show All Preferences walker, so anything written there now shows up in the spy.

Independent of #2345 and #2346; touches only PreferenceSpyAddon and ShowAllPreferencesHandler.

Fixes #2344.

UserScope was added to Equinox preferences in
eclipse-equinox/equinox#446 and stores per-user-global preferences
under <user.home>/.eclipse. The spy already watches BundleDefaults,
Configuration, Default and Instance, so user-scoped changes were
silently missed. Register the same change listener on UserScope and
include it in the Show All Preferences walker.

Fixes eclipse-pde#2344
@github-actions
Copy link
Copy Markdown

Test Results

  126 files  ±0    126 suites  ±0   35m 5s ⏱️ -44s
3 510 tests ±0  3 456 ✅ ±0   54 💤 ±0  0 ❌ ±0 
9 333 runs  ±0  9 203 ✅ ±0  130 💤 ±0  0 ❌ ±0 

Results for commit c96e681. ± Comparison against base commit 0c81951.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Track UserScope in preference spy

1 participant