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
 include protection level in hover information
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MrJones4u
Ketchup Master

71 Posts

Posted - Nov 22 2012 :  03:42:35 AM  Show Profile  Reply with Quote
Hello,

It would be, as far as I can say, really cool, if the protection level of class members and functions would also be shown when hovering over a member or function (and in the definition field).

Currently:


Suggestion:



cu,
and keep the great work up!
Michael

Edited by - MrJones4u on Nov 22 2012 06:11:42 AM

MrJones4u
Ketchup Master

71 Posts

Posted - Nov 22 2012 :  06:12:37 AM  Show Profile  Reply with Quote
and...
possibly the feature to move a member or function from one protection level to another.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17100 Posts

Posted - Nov 23 2012 :  3:59:29 PM  Show Profile  Reply with Quote
If you place the caret into the function name, and look at the VA Context and Definition fields, normally at the top of the editor, the icon shown at the start of the Definition field, the right hand field, will show you if this function is public, protected or private, using the IDE standard icons.

Not quite the same as the tooltip, but hopefully helpful enough

For moving a function from one level to another, are you aware you can use VA Outline to quickly and easily reorder the items in a class, including moving a function from one access block to another?

http://www.wholetomato.com/products/features/vaoutline.asp

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

MrJones4u
Ketchup Master

71 Posts

Posted - Nov 26 2012 :  07:17:41 AM  Show Profile  Reply with Quote
Hello,
Thanks for the reply,
I gave you suggestion a look into. For me the biggest hurdle is that I donG??t really us the VA Outline as it generally does not show me what I need to see and use most G?? the class hierarchy. But that is of course my personal issue. But when it comes to protection level the VA Outline is no big help either. If there more function or members than real-a-state you canG??t see the protection level as it is only shown at the top of the group and therefore out of sight a lot of times. And as a tool to refactor the protection level it fails in usability on classes with many members as you have to drag and scroll and canG??t see if you are heading the right direction to the desired protection level. Now, if there were refactoring menu items i.e. G?send to privateG?, G?send to publicG? etc. G?? that would be useful.
Regards,
Michael
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17100 Posts

Posted - Nov 27 2012 :  6:44:32 PM  Show Profile  Reply with Quote
For the current protection level, are you seeing the correct / expected icon in the VA Definition field?

http://www.wholetomato.com/products/features/vaNavigationBar.asp

You should see a purple cube for public functions, the purple cube with a yellow key for protected functions, and the purple cube with a silver padlock for private functions.

We are considering adding a refactoring command to move a function from one protection level to another, and you make a good case for why this is helpful in addition to VA Outline:

case=1094

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

MrJones4u
Ketchup Master

71 Posts

Posted - Nov 28 2012 :  02:42:11 AM  Show Profile  Reply with Quote
The VA Definition field does show the correct protection level when the function / member is clicked. In our case we are refactoring legacy code and the information in the hover popup (and I would prefere the word e.g. "private" not the icon - but that just me) would speed things up.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17100 Posts

Posted - Nov 28 2012 :  7:27:34 PM  Show Profile  Reply with Quote
This makes sense, I have put in a feature request for this to see what our developers make of it:

case=70906

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

MrJones4u
Ketchup Master

71 Posts

Posted - Dec 11 2012 :  07:41:28 AM  Show Profile  Reply with Quote
Oh... and now I just noticed one origin of my confusion when answering your Initial reply: the protection level is only visible in the VA outline, when the file you are editing is the header file (we are talking C++ here). Not only that, only those members which are visible in the file you are editing are displayed in the VA outline, which, in my opinion, renders the VA outline even more useless (feel sorry to say that).

Edited by - MrJones4u on Dec 11 2012 07:48:44 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17100 Posts

Posted - Dec 14 2012 :  11:26:41 AM  Show Profile  Reply with Quote
VA Outline is designed to give you an outline, an overview of the current file. This is very useful when getting a sense of the file, and can also be used to quickly and easily reorder the functions in the current file:

http://www.wholetomato.com/products/features/vaoutline.asp

If you are looking for an overview of a specific class then you will probably find the Hovering Class Browser in VA View more useful:

http://www.wholetomato.com/products/features/hcb.asp

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000