Sorting methods (by number of arguments) using File Layout

I'm using Unity/C# and I try to setup Rider File Layout XML to format code in specific way.  
What I want - is to put methods with certain names (e.g. Awake(), Start(), Update() etc.) in front of other methods.  
The important part is that I want to move only methods without arguments.  

Sorting by name partially works, but it also changes order of methods with parameters (e.g. Update(float dt)).  
Is there any way to filter methods with and without parameters using File Layout?

1 comment
Comment actions Permalink

Hello Bartosz Kulesza, thank you for your question. This feature is not yet implemented. However, we have a corresponding issue on our bug tracker. We would appreciate it if you would upvote the issue in order to demonstrate additional interest and bring increased awareness to the issue. Please let me know if you have any questions. Thank you!


Please sign in to leave a comment.