c++ - 没有扩展名的文件的语法突出显示

标签 c++ visual-studio visual-studio-2010 syntax-highlighting file-extension

我正在处理一些没有 .h.hpp 扩展名的库 header 。 Visual Studio 没有为这些文件提供语法突出显示和其他功能。有什么方法可以打开它们吗?

最佳答案

找到了。在德语版的 Visual Studio 中,可以在“Extras/Optionen/Text-Editor/Dateierweiterung/[x] Dateien ohne Erweiterung zuordnen zu: Microsoft Visual C++”下找到该选项。

关于c++ - 没有扩展名的文件的语法突出显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7026707/

相关文章:

c++ - C/C++ 确定程序运行的驱动器

c++ - 语法错误 : missing ';' before identifier

css - 仅 1 行阻止 CSS 验证

c - 为什么 %zd printf 格式在 VS2010 中不起作用?

c++ - 为 C++ 模板类提供 swap() 中断 std::swap()?

c++ - 常数时间 'cons'

c++ - Opencv 光流跟踪 : stop condition

c# - Office (Outlook) 插件和 EXE 文件

visual-studio - 如何在 VS 2012 中调试经典 ASP 应用程序

c# - 如何从 .vcxproj 文件中获取所有项目宏及其值