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
 Desired new key shortcuts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Adequat
Tomato Guru

182 Posts

Posted - Dec 11 2007 :  07:15:18 AM  Show Profile  Reply with Quote
1) With Alt+G you often get two or more suggestions:
MyFile.cpp
MyFile.h

I would like two new key shortcuts:
* To jump directly to MyFile.cpp (definition)
* To jump directly to MyFile.h (declaration)
* If too many choices, fall back to the standard menu

2) A keyshortcut to jump directly to the declaration of the type of the focused token.

MyFunction()
{
sound->volume.adjust();
}

Currently, we have to use Alt+G to go to the declaraction of "volume" in sound.h, then Alt+G again to jump to the declaration of the volume's type. My request: I want to go there in just one key shortcut.

znakeeye
Tomato Guru

379 Posts

Posted - Dec 11 2007 :  08:36:27 AM  Show Profile  Reply with Quote
Agree! I actually requested this in a previous post :)

Alt+Shift+G ftw?
Go to Top of Page

Dans
Senior Member

Ukraine
45 Posts

Posted - Dec 11 2007 :  5:06:54 PM  Show Profile  Reply with Quote
Agree!
But, I think, i suggested more intuitive thing here: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6487
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Dec 13 2007 :  2:44:31 PM  Show Profile  Reply with Quote
Dans that thread is talking about different things.


Adequat we are considering a command to go directly to the variables type:

case=9113

The current alt-g menu, is the problem the menu its self, or the time taken to read the menu? I am not sure about your comment "If too many choices, fall back to the standard menu", since currently VA can list 2 declarations and 2 implementations if you use alt-g on an overloaded function.

Looking at just declarations or just implementations you still have more than one.

We are considering colour coding the alt-g menu to pick out declarations or implementations, to make the current alt-g menu quicker to use:

case=272

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

sl@sh
Tomato Guru

Switzerland
204 Posts

Posted - Dec 17 2007 :  03:58:50 AM  Show Profile  Reply with Quote
I think what Adequat wants is the ability to directly move from a position that uses a symbol to that symbol's declaration, or from the declaration to it's implementation - both by a single shortcut, without displaying a menu.

I suppose these two are the single most used applications of Alt+G that could be automated in a sensible way.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Dec 17 2007 :  08:04:06 AM  Show Profile  Reply with Quote
Two new commands "go to declaration" and "go to implementation" certainly make sense, I am just wondering how Adequat was picturing them working when a menu has to be displayed. There are times when VA does not have a single location to jump to, so it has to ask the user what to do.

I just want to be clear before I put the feature request in

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:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000