Recognize .tcc files in Visual Studio?

I recently came across a .tcc file format, which, from what I understand, is a way to separate the interface from implementation when writing template classes in C ++

However, Visual Studio does not seem to recognize this format in such a way that it does not produce “beautiful print”, which will mean that the keywords are blue, the types are light blue, etc.

Is there a way to make a visual studio recognize this format, as well as make intellisense available to it?

+4
source share
1 answer

Follow these steps:

  • From the Tools menu, select Options .

  • Expand the Text Editor nodes and select File Extension .

  • Type tcc "in the Extension text box and select Microsoft Visual Studio 2012 from the Editor list, click Apply , and then click OK .


Edit: In response to your comment, see this part of the MSDN documentation regarding setting editor options,

+6
source

All Articles