Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Visual Assist vs. #defines in CUDA properties

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
rapaz Posted - Dec 22 2011 : 05:20:58 AM
Hi all,

I started using Visual Assist X in my CUDA project and it helps navigating code a lot! Makes a huge difference. The only problem that i've had so far is the following. In my CUDA Runtime API project properties i have a define set that determines whether some bits of code should be compiled or not. The VA doesn't see this define and grays out those sections. I would be totally fine with VA not handling any code coloring for the defines but cannot find how. Tried messing with the newly created cu.tpl file, no effect.

Any ideas?

Thanks,

Vlad
2   L A T E S T    R E P L I E S    (Newest First)
rapaz Posted - Mar 22 2012 : 05:43:07 AM
Thanks! Indeed you are right and I got it working

quote:
Originally posted by feline

VA does not grey out these code blocks, this is something the IDE is doing. Try turning off:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Colorize inactive code blocks in a different color

this should fix the problem for you.

VA is designed to be active even inside "inactive" code like this, to help you when you are working inside these blocks.

feline Posted - Dec 22 2011 : 11:32:17 AM
VA does not grey out these code blocks, this is something the IDE is doing. Try turning off:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Colorize inactive code blocks in a different color

this should fix the problem for you.

VA is designed to be active even inside "inactive" code like this, to help you when you are working inside these blocks.

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