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
 Symbol Definition Quick overview
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2046 Posts

Posted - Nov 13 2020 :  10:20:58 AM  Show Profile  Reply with Quote
I am not sure if there is somewhere, some feature that does this or something like it, if there is, I didn't find it yet.

Often when I look over existing code, I want/need to see what members a class offers or implements. More or less like the completion but I don't want to edit any code.

Of course I can go to definition, but that's not always an option or an good option, like in cases where a class is implemented in various source files.

Perfect would be something like Ctrl+Hover over a symbol, and i get an overview of the symbols members, methods, interfaces, variables, properties, etc. type + name, or name + type, something like that.

Any ideas?

feline
Whole Tomato Software

United Kingdom
17012 Posts

Posted - Nov 16 2020 :  06:59:26 AM  Show Profile  Reply with Quote
Two options immediately come to mind.

First the bottom section of VA View, the Hovering Class Browser. Make sure VA View is showing, and you have keyboard focus in the editor. Now hover the mouse over the class name or over a variable of the class type, and the HCB will update to list all of the members of this class. If you want to stop this displayed class information changing as you hover the mouse over other symbols, use the "pin" next to the class name at the top of the HCB section of VA View.

The other obvious option is VA's Goto Member dialog. Alt-Shift-G for Goto Related on the class instance variable, then "Goto Member" dialog, which will bring up a dialog listing the members of the class. You can search the dialog, but once you dismiss the dialog, it is no longer visible for easy reference.

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

Uniwares
Tomato Guru

Portugal
2046 Posts

Posted - Nov 16 2020 :  07:15:53 AM  Show Profile  Reply with Quote
Right, forgot about the HCB, its almost what IŽd like to see. If it was "hovering" it would be perfect, usually I have a few as possible additional windows open besides the text editors. VA Goto Member is as unhandy as the VS Preview Definition, at least in this use case.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17012 Posts

Posted - Nov 16 2020 :  09:53:13 AM  Show Profile  Reply with Quote
You can un pin the VA View window, to make an always visible floating window. Once hidden, to show it again you can map a keyboard shortcut to the command:

VAssistX.VAView

and while it has focus the default keyboard shortcut to close it again is Shift+Escape, from the IDE Window menu.

Not quite mouse hover, but maybe helpful enough.

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