Where can I change the Encapsulate property position?

In rider, I can use Alt+Enter -> Encapsulate field to Auto generate a property from a filed.

But the position of generated field is always before the first method.

I want to put the generated field next to my field.

Is there a setting to control that?

0
2 comments

Hi,

Unfortunately, it is not possible now. Here is an issue: https://youtrack.jetbrains.com/issue/RSRP-475642.

As a workaround, to quickly change the position of the created property, you can try using the "Rearrange code" feature: https://www.jetbrains.com/help/rider/Coding_Assistance__Moving_Code_Elements.html.

0

Sofia Byzova Thanks for reply. Hope this issue is fixed in new version. 

0

Please sign in to leave a comment.