OSG 源码中头文件高亮显示
新版的OSG源码有点坑,其头文件没有后缀名。因此怎么看也不舒服,经过一番在网上查询,其VisualStudio_Syntax_Highlighting.txt记录了如何在VS中高亮显示其头文件。
步骤(原样摘抄一下):
1. Go to Tools-Options.
2. Open the Text Editor section, and click on File Extension.
3. At the bottom of the window, check the Map Extensionless Files To
checkbox, and select Microsoft Visual C++ in the list to the right.
本文介绍在Visual Studio中实现无后缀名的OSG源码头文件高亮显示的方法。通过设置扩展名映射,解决新版OSG源码因缺少后缀名导致的显示不适问题。
1097

被折叠的 条评论
为什么被折叠?



