QUOTE(hakuna @ Sep 24 2007, 10:57 PM)
We can use the tool Visual Assist X to implement it:
First, find the Visual Assist X install directory:
\Program Files\Visual Assist X\Autotext, then make a copy of Cpp.tpl, rename it to Cu.tpl, apply same operation to the "Latest" directory.
Second, open the regedit table, and search it with the key word "Visual Assist X" until you find in the VANet8 in HKEY_USERS\S-1-5-21-1757981266-220523388-725345543-1003\Software\Whole Tomato\Visual Assist X\VANet8
Here you can see many attribute setting about Visual Assist X,
click the item ExtHeader and add the .cu in the list, same to the item ExtSource.
save and quit.
[right][snapback]255780[/snapback][/right]
I can't get it to work.
I've downloaded Visual Assist X from
http://www.wholetomato.com/downloads/default.asp and installed it. Then copied the 'Cpp.tpl' and renamed it to 'Cu.tpl' (only one instance in 'C:\Program Files\Visual Assist X\AutoText\Latest').
Then found the VANet8 folder in regedit and added ".cu" to the list in ExtSource and '.cuh' in ExtHeader.
Restarted Visual Studio and openned my CUDA project (with a '.cu' file in it) and there's no intellisense there (I can't see the function overloads using Ctl+Shift+Space or any variable types using mouse-over).
Can anyone suggest why it's not working?
Or is it working and does Visual Assist do something different to normal Intellisense?
(I can see the extra context menu items for 'VA X'... is that all it's supposed to do... or does it 'fix' intellisense for CUDA source code?)