Allow C/C++ files with a non-standard extension

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>\

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> \

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

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
 

Visual Studio 2008 and 2005

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 | C/C++ File Extensions

Visual Studio 2003

Add your extension to:

Tools | Options | Projects | VC++ Build | C/C++ File Extensions

Exit the IDE and use regedit to clone the following entry to a like entry that ends in your extension:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions\.cpp

If you are using a 64-bit OS, then clone the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\7.1\Languages\File Extensions\.cpp

Clone means create a new key for your extension and copy the default .cpp key value to the key you created.

Visual Studio 2002

Add your extension to:

Tools | Options | Projects | VC++ Build | C/C++ File Extensions

Exit the IDE and use regedit to clone the following entry to a like entry that ends in your extension:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0\Languages\File Extensions\.cpp

If you are using a 64-bit OS, then clone the registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\7.0\Languages\File Extensions\.cpp

Clone means create a new key for your extension and copy the default .cpp key value to the key you created.

Visual C++ 6.0

Exit your IDE and use regedit to add the extension to:

HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Text Editor\Tabs/Language Settings\C/C++\FileExtensions.

最新文章

  1. Altium Designer 文档信息设置以及模板制作
  2. git中通过实际操作来了解常用命令
  3. 精通 Oracle+Python,第 6 部分:Python 支持 XML
  4. Tomcat7配置数据源(Oracle)
  5. AMR音频文件格式分析
  6. JS日期时间加减实现
  7. MongoDB副本集的搭建
  8. 【渗透课程】第二篇下-HTTP协议的请求与响应深度剖析
  9. IntelliJ IDEA(二) :面板介绍
  10. BaiduSpeechDemo【百度语音SDK集成】(基于v3.0.7.3)
  11. neo4j-cypher
  12. Java实训:实训一 ——长春职业技术学院 16级网络工程
  13. Codeforces Round #529 (Div. 3) C. Powers Of Two(数学????)
  14. boolalpha的作用
  15. 4.HTML+CSS制作个月亮
  16. JoyOI1940 创世纪
  17. node之文件的下载
  18. phpstorm搜索匹配正则表达式
  19. Java学习(基本语句,语法,变量)
  20. mybatis插入返回主键

热门文章

  1. C#——传值参数(3)
  2. 谷歌同声翻译Translatotron原理
  3. 洛谷P3172 [CQOI2015]选数(容斥)
  4. 在VMware上克隆Linux虚拟机及其网卡配置方法
  5. 剑指Offer的学习笔记(C#篇)-- 不用加减乘除做加法
  6. Zookeeper入门看这篇就够了!!
  7. jmeter的Include Controller控件和Test Fragment控件和Module Controller控件
  8. 2019湘潭校赛 H(dp)
  9. github 新建一个分支
  10. AJPFX关于Java中运用数组的四种排序方法