Hi,
I have configured CodeRush to maintain a blank line between properties/methods etc. This works fine UNLESS:
- a property is auto implemented AND
- has a default value AND
- the following property has an attribute attached.
In the attached sample, you can see the spacing is correctly applied to Id, IsHeld, LoanProductName, NodAmount and NodDate as they do not have default values assigned, or the following field does not have an attribute assigned. All other fields do not have the spacing applied as they fall into one of the above 3 categories.
Am I missing something?
Cheers,
John
Hi John,
Please share your CodeRush settings (CodeRush\Support\Settings Folder) and specify the exact CodeRush feature you use - Formatting, Code Cleanup, or Organize Members. We need this information to reproduce and research the issue.
Hi Alex,
Settings attached. I use the Format Document option set up via Editor | C# | Formatting | Blank lines.
Cheers,
John
John,
Thank you for sharing this information. I reproduced the issue. Please give us some time to research it. We will update this ticket when we have news.