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.