Global reordering code inside classes #54215
Labels
Area-IDE
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
Feature Request
IDE-CodeStyle
Built-in analyzers, fixes, and refactorings
Projects
This issue has been moved from a ticket on Developer Community.
It is a great idea to add reorder and group into regions members inside classes.
First by access level: private, private protected, protected, friend, public.
Second by kind: classes, enums, constants, events, declarations (I mean in abstract classes), variables, properties, functions.
Inside regions by alphabet by name and after by name of parameters types
Will be created regions from "private classes" to "public functions" and members distributed between these regions. If the coder have own regions, the feature will place them alphabetically with sorting inside.
This is a tiny manually sorted example in Visual Basic.
Thanks for your consideration!
Original Comments
Feedback Bot on 6/6/2021, 11:00 PM:
Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.
The text was updated successfully, but these errors were encountered: