使 Visual Assist解释非标准c/c++扩展名的设置方法

Follow these steps to make Visual Assist consider as C/C++ files with a non-standard extension.

Changes for Visual Assist

Exit all instances of Visual Studio before editing the registry.

If your extension denotes a header file, use regedit to add the extension to ExtHeader in the following location. Remember to include the dot and terminating semicolon:

HKEY_CURRENT_USER\ Software \ Whole Tomato \ Visual Assist X \ [<IDE spec>](https://docs.wholetomato.com/default.asp?W407) \

If your extension denotes a source file that is not a header file, add the extension to ExtSource in the following location. Remember to include the dot and terminating semicolon:

HKEY_CURRENT_USER \ Software \ Whole Tomato \ Visual Assist X \ [<IDE spec>](https://docs.wholetomato.com/default.asp?W407) \

Press Rebuild on the Performance tab of the Visual Assist options dialog and restart your IDE.


Rebuild

Changes for Visual Studio

Make version-specific changes to your IDE as well:

Visual Studio 2010 and newer

Add your extension to:
Tools | Options | Text Editor | File Extension | Microsoft Visual C++



Also add your extension to:
Tools | Options | Projects and Solutions | VC++ Project Settings | Extensions To Include

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • ViewsBecause view objects are the main way your applicati...
    梁光飞阅读 3,865评论 0 0
  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 7,946评论 0 0
  • 艺术的本质是心灵语言。 心灵是万物本体,人以艺术方式展现。这是人与动物植物的区别。 言为心声,...
    花遇花开阅读 2,675评论 0 0
  • 记得以前在一本杂志上看到过,野生的鸟儿每到冬天会大批死亡,是因为食物的匮乏,很多是被饿死的。去年入冬将花木搬进屋子...
    SukiQi苏琪阅读 1,443评论 0 1
  • 1、颜色函数 http://baike.renwuyi.com/2015-04/9042.html 2、计算宽高 ...
    懒羊羊3号阅读 5,419评论 0 0