File Layout - match class name with file name Follow Completed knp Created July 12, 2021 13:01 Hi, is it possible to match the file name with the class name? E.g. Thanks in advance
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?
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.
Content of file 'B.cs':
What I expect after file layout has been applied:
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.