resharper-unity icon indicating copy to clipboard operation
resharper-unity copied to clipboard

Odin support for MinValue and Range are reversed.

Open vertxxyz opened this issue 1 year ago • 1 comments

Min attempts to get a max position from the attribute:

https://github.com/JetBrains/resharper-unity/blob/98f45648cbf4c1e6d05cb99c7fedeb0ee8cca255/resharper/resharper-unity/src/Unity/Odin/Feature/Services/CodeAnnotations/OdinMinAttributeInformationProvider.cs#L35

image

And range's upper bound is max value: https://github.com/JetBrains/resharper-unity/blob/98f45648cbf4c1e6d05cb99c7fedeb0ee8cca255/resharper/resharper-unity/src/Unity/Odin/Feature/Services/CodeAnnotations/OdinRangeAttributesInformationProvider.cs#L39

image

vertxxyz avatar Jul 08 '24 07:07 vertxxyz

Fixed as part of 2024.2

citizenmatt avatar Sep 05 '24 16:09 citizenmatt