how to view a .cu file in visual studio 2008 win7 64bit+VS2008

Hi all,

I didn’t see anyone ask this kind of question so I guess it may just be a silly problem.
When I open a .c or .cpp file, the visual studio automatically shows keywords in colour. But when I open a .cu file, it does not highlight any keyword which is very difficult for me to view. Anyone knows how to solve this problem?
Cheers.

Hi all,

I didn’t see anyone ask this kind of question so I guess it may just be a silly problem.
When I open a .c or .cpp file, the visual studio automatically shows keywords in colour. But when I open a .cu file, it does not highlight any keyword which is very difficult for me to view. Anyone knows how to solve this problem?
Cheers.

Tools->Options->Text Editor->File Extension-> Extension: cu, Editor: MSVC++ → Add and reopen cu file.

Tools->Options->Text Editor->File Extension-> Extension: cu, Editor: MSVC++ → Add and reopen cu file.

Thank you so much!!

Thank you so much!!