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
 #if syntax highlighting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jaw2s
Starting Member

1 Posts

Posted - Nov 20 2006 :  2:59:00 PM  Show Profile  Reply with Quote
Would be nice to apply a dulled color or the same color as comment blocks for

#if 0
...
#endif

and maybe be able to auto-indent

#if a
#if b
...
#endif
#endif

Also, is there a VS macro for find-matching-preprocessor-definition? If not, that would also be a nice feature.

Thanks.

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Nov 21 2006 :  08:22:30 AM  Show Profile  Reply with Quote
To jump to the matching line try CTRL+]
The colouring, the IDE does this if you are using VS2005, have left the IDE's intellisense parser enabled, and wait long enough. VA does not try to do this since it does not know which items are currently defined.

For now we are not going to try and offer indenting of these lines:
http://docs.wholetomato.com?W147

If you are using an older IDE you can try:

#if 0 //{{AFX_COMMENTED_OUT
#endif //}}AFX_COMMENTED_OUT

to mark your blocks. You can use autotext entries to make these quick and easy to enter. You can control the colour of these blocks in the IDE's colour options.

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