使 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

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

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

友情链接更多精彩内容