JetBrains / resharper-unity

Unity support for both ReSharper and Rider
Apache License 2.0
1.21k stars 131 forks source link

Settings > Code Style > C# > Other > Unity > Force a line break after any [Header] annotations does not work properly with properties. #2449

Open Heroshrine opened 2 weeks ago

Heroshrine commented 2 weeks ago

With Serialized Variables

Before formatting: image After formatting: image What I expect to happen: For the property to be on the same line as the SerializeField attribute.

Without Serialization

Before formatting: image After formatting: image What I expect to happen: For the property to be on the line after the Header attribute.

Version Information:

Unity version 6000.0.4f1 | Unity Package JetBrains Rider Editor version 3.0.28 | JetBrains Rider version 2024.1.3