Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Promote encapsulation

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
graham.reeds Posted - Jun 12 2007 : 05:39:29 AM
I would like to be able to promote the encapsulation of variables from where the variable is declare to protected/public.

Every time I encapsulate a variable I then have to move it. You could have a window like the Create Similar Member window and have a radio button so you can decided whether to make it public, protected or private. I feel that the default should be what ever the last time the feature was used was.

Thanks Graham Reeds.
2   L A T E S T    R E P L I E S    (Newest First)
graham.reeds Posted - Jun 12 2007 : 08:23:06 AM
True. Myself I pretty rigorously enforce 1 block for each, and descend public, protected, private and only the public and protected functions are documented.

I'll have a look at VA Outline, thanks.
feline Posted - Jun 12 2007 : 08:11:59 AM
Are you familiar with VA Outline? See details of enabling it here:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6149

This is ideal to help you re-order items in a class.

The problem with saying you want the functions to be public or protected is which public block do they go into? Often a class will have more than one, and some people have very strong opinions on how they want the functions in their classes to be ordered / grouped.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000