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
 Technical Support
 Searching next matching #if #else #elif #endif
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

xMRi
Tomato Guru

Germany
315 Posts

Posted - Feb 27 2004 :  03:03:00 AM  Show Profile
VC6 had this feature. via Ctrl-J and Ctrl-K.
Saddly this is gone in VS.NET.

How about to implement this in VAX?

Martin

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Feb 27 2004 :  06:30:09 AM  Show Profile
using VS .NET 2003 and the (rather silly) code snippet

#if 0
// first bit of code here
#else
// this is some dummy code
#elif 1
// this is a conditional bit
#endif


CTRL_] moves between the #if 0, #else, #elif and #endif lines. it only moves down the code, and it doesn't work if my cursor is at the end of the #if 0 line.

does this work in your version of VS?

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

xMRi
Tomato Guru

Germany
315 Posts

Posted - Mar 04 2004 :  06:30:13 AM  Show Profile
Please tell me how the command is named that is selected by this keystroke!
I use a german keyboard layout and this keyboard sequence executes nothing.

Martin

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Mar 04 2004 :  07:27:42 AM  Show Profile
keyboard mapping calls this:

Edit.GotoBrace (Text Editor)

i hope this helps

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

xMRi
Tomato Guru

Germany
315 Posts

Posted - Mar 05 2004 :  05:42:29 AM  Show Profile
Thanks! That what I missed!
Martin

Martin Richter [rMVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000