c++ - 在 Visual Studio 2013 Express 中为具有不规则扩展名(例如 .tpp)的 C++ 文件启用 IntelliSense

标签 c++ visual-studio-2013

我正在 Visual Studio 2013 Express 中实现一个带有头文件和实现文件的类模板。但是,我的实现文件(具有 .tpp 扩展名)没有启用 IntelliSense。有没有办法为这个文件启用 C++ IntelliSense?

最佳答案

Tools->Options->Text Editor->File Extensions .至少对于语法高亮,出于编译考虑,将它们添加到项目的 xml 中或右键单击它们并选择并在属性中选择 Item Type C/C++ Compiler。
PeterT Nov 9 '14 at 22:45

关于c++ - 在 Visual Studio 2013 Express 中为具有不规则扩展名(例如 .tpp)的 C++ 文件启用 IntelliSense,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26833905/

相关文章:

c++ - 结构对齐/字节顺序检查

c++ - Winapi 创建标签菜单

c++ - 在不重新分配内存的情况下将 vector 拆分为 2 个子范围

visual-studio-2013 - 在 VS 2013 Ultimate 中禁用了 "Memory Usage"选项

visual-studio - Visual Studio 2013 中的 GTK+ 3.0 设置

visual-studio-2010 - 我在哪里可以看到预构建事件和后构建事件 (VS2013) 的输出?

c++ - gtk_widget_draw() 替代 gtkmm3

c++ - 如何积累模板参数包?

entity-framework - 为什么 ASP.NET SPA 模板为所有请求实例化 UserManager 一次?

visual-studio-2013 - 在Visual Studio 2013中禁用 typescript 编译