Whole Tomato Software Support Forum
Whole Tomato Software Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Visual Assist X - Frequently Asked Questions
 Registry settings (read only)
 How do I always get <> or "" for Add Include
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

feline
Moderator

United Kingdom
12846 Posts

Posted - Nov 12 2010 :  6:06:33 PM  Show Profile
When using the Add Include Refactoring command:

http://www.wholetomato.com/products/features/autoUsing.asp

Visual Assist X will attempt to work out if it should use

#include <filename.h>

or

#include "filename.h"

for each #include that is added.

In Visual Assist X 1836 and above you can force Visual Assist X to always use one or the other by creating the DWORD registry key:

HKCU \ Software \ Whole Tomato \ Visual Assist X \ VANet8 \ AddIncludeTokenStyle = 0

Replace "VANet8" with "VANet11" for Visual Studio 2012
Replace "VANet8" with "VANet10" for Visual Studio 2010
Replace "VANet8" with "VANet9" for Visual Studio 2008
Replace "VANet8" with "VANet" for Visual Studio 2003
Replace "VANet8" with "VA6" for Visual C++ 6

Supported values:
0 = default, current behavior
1 = force use of ""
2 = force use of <>

In Visual Assist X 1925 and above three more settings have been added:

3 = "name.h" or <name.h> dependent on include dirs, without path
4 = "name.h" without path
5 = <name.h> without path


Note you need to close all IDE's before editing this registry key, to avoid Visual Assist X overwriting your change when it quits.

The following FAQ entries are also about Add Include:
How to set the default delimiter for Add Include

How to stop Add Include using relative paths

Edited by - feline on Dec 18 2012 1:29:36 PM
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
Whole Tomato Software Support Forum © 2013 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000