VA助手添加扩展文件后缀名

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.

转载于:https://www.cnblogs.com/2018shawn/p/11075830.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值