Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 #if syntax highlighting

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
jaw2s Posted - Nov 20 2006 : 2:59:00 PM
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.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 21 2006 : 08:22:30 AM
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.

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