cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Unstable ordering in `ClojureProjectResolveSettings.xml`

Open onetom opened this issue 3 years ago • 3 comments

Problem

We keep our .idea/ClojureProjectResolveSettings.xml under version control. When we change the resolution settings (with Opt-Enter), the <item>s in the XML gets reordered, introducing misleading noise/churn in commits, obscuring the actual change.

Solution

No idea how does the JetBrains platform deals with this, but I guess they must have a set-like data-type, which is serialized into XML in a sorted manner, to reduce such unnecessary changes.

onetom avatar May 03 '22 23:05 onetom

This is still the case unfortunately, leading to hard to understand diffs

onetom avatar Apr 04 '23 07:04 onetom