Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Brace navigation

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
.oisyn Posted - Jul 08 2008 : 6:00:19 PM
When browsing code, especially inside large functions that don't fit on a single page, I frequently wish to jump to the opening or closing brace in the current scope. Visual studio has the option to jump to the matching brace, but the cursor has to be on the opening or closing brace for it to work, and finding that brace is not always easy within large scopes with a lot of nesting going on.

So I'd like to request a feature for brace navigation - GoToOpeningBrace and GoToClosingBrace. The first one scans backwards to the opening brace of the current scope, and places the cursor right behind it (so the cursor is still inside the same scope). If the cursor is already right behind an opening brace, it should go to the opening brace of the enclosing scope. Similarly, GoToClosingBrace scans forward to the closing brace of the current scope, and places the cursor right before the closing brace, or find the closing brace of the enclosing scope if it already was right before a closing brace.

What would probably also be nice to have, is to jump to (the start of) the next or previous sibling scope. This would enable you to quickly move backward and forward through the functions in a file for example, or a set of if-else-blocks inside a function.

.edit: uhm, right, I just discovered that VA X already has such a feature - ScopePrevious and ScopeNext. Thanks for implementing it so quickly
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jul 09 2008 : 5:12:58 PM
This is what I wanted to suggest
http://www.wholetomato.com/products/features/move.asp

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000