Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Promote encapsulation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

graham.reeds
Ketchup Master

United Kingdom
51 Posts

Posted - Jun 12 2007 :  05:39:29 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jun 12 2007 :  08:11:59 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

graham.reeds
Ketchup Master

United Kingdom
51 Posts

Posted - Jun 12 2007 :  08:23:06 AM  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000