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
 VAssistX.Scope"Up"?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rchen
New Member

7 Posts

Posted - Jan 07 2015 :  8:54:06 PM  Show Profile  Reply with Quote
Example,

class Aaaaaa
{
void Foo1(){}
void Foo2(){}
void Foo3(){}
..
void Foo999()
{}
}

In exaggerate say I am in Foo999(), I want to navigate to the class definition.

I have been using ScopePrevious to do this, but the more I use the more found it's not intended for what I want to do. ScopePrevious will simply find the previous "{", what I want is finding the "{" but skipping all matching "{}".

This is particularly useful when I am in the middle of some long code and I want to go to the beginning of the class. .

Please consider..
cheers.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 13 2015 :  6:50:33 PM  Show Profile  Reply with Quote
Can you please post an example code and point out what you mean?

VA skips matching {}s up until the top level where it starts jumping onto each method/functions in the file. This is a great way to find a particular method. Is this the part what you want to change? I'm afraid if we change this, other users might get upset.

Have you considered using VA Outline for faster navigation?
VASSISTX -> Tools -> VA Outline
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 19 2015 :  7:29:26 PM  Show Profile  Reply with Quote
Have you tried the Alt-M list, and then filtering on the class name? You may not even need to filter the list, if this is the only class in the file. The class will be listed, then the class members, a similar idea to VA Outline.

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 30 2015 :  2:31:58 PM  Show Profile  Reply with Quote
An option for Next/Prev Scope command to skip pairs of braces that open and close on the same line makes sense: case=87625

An alternative to Next/Prev Scope commands would be a new pair of commands to simply move to the open/close brace of the scope in which the caret is positioned (without stopping at methods as in Next/Prev Scope): case=87626
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