File Layout - match class name with file name
Completed
Hi,
is it possible to match the file name with the class name?
E.g.
Thanks in advance
Please sign in to leave a comment.
Hello knp,
Thank you for contacting us.
At this moment, ReSharper doesn't provide the feature of matching file names with the class names.
Could you please describe in detail what result you'd like to achieve with this pattern?
Hi,
I have files with multiple classes in it. I want to reorder the classes by name and additionally set the class with the same name as the file always on top of all other classes.
Example:
Content of file 'B.cs':
What I expect after file layout has been applied:
Hello knp,
Thank you for the additional information.
I've discussed this feature request with our development team and opened a corresponding issue - https://youtrack.jetbrains.com/issue/RSRP-485254
Feel free to comment or vote for it.
Let me know if you have any questions.