User | Kudos |
---|---|
11 | |
9 | |
3 | |
3 | |
2 |
Definition of the problem:
To find the scope of an method in code quickly there are two options:
It would be nice if we could avoid the above two methods of finding out the scope.
Current solutions:
Of course we can add text in the icon (limited space) or rename the method so it has the private/public/community name in the method (long file names and a loth of work when changing the access scope) and even add descriptions for the scope which requires the context help window to be open.
But there is a more elegant solution: In the project explorer there is an way to find out the scope of the Methods in a single glance by the glyphs used on the icons.
So incorporating this in the Icons of the methods makes sense. Even better there are already a glyphs of the protected and private methods.
Proposed Idea:
Changing the access scope into private/protected/public or community automatically add an layer with the corresponding glyph of the access scope. This makes it clear what the scope of the methods are and thus avoiding breaking the code/using long names/writing it in the icon or place it in the description. Automating this also removes a loth of extra clicks to get the same result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Declined for reasons listed by AristosQueue in the comments thread