Author |
Topic |
|
weird.dreams
New Member
Germany
3 Posts |
Posted - Apr 12 2010 : 09:18:09 AM
|
Hi there, we are using includes to our own library like this:
#include <common/dt_regex.h>
When using the refactoring tool AddInclude, we always get an include line like:
#include "common/dt_regex.h"
Is it possible to change the "" to <> marks? (I tried to put our library to the stable headers - but this did not work either).
Thx, Andi |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Apr 12 2010 : 1:26:24 PM
|
Is the file "dt_regex.h" part of your solution? I am wondering if the directory this file lives in is part of your solution, so VA would expect it to be a local file, with a #include "" line. |
zen is the art of being at one with the two'ness |
|
|
weird.dreams
New Member
Germany
3 Posts |
Posted - Apr 22 2010 : 04:46:11 AM
|
Hi again, the file "dt_regex.h" is also part of our solution, but it is also part of our "library" (no lib file - they are all part of our solution).
So directory dependend the local files must have "" and the lib files must have <>.
Is the possible with "stable source files" under project?
Thx, Andi
|
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Apr 22 2010 : 12:50:19 PM
|
The stable source files might help, but this is not recommended. VA does not expect stable files to be part of the solution, and does not expect them to be edited all of the time.
You could write a simple IDE macro to do a search and replace on the current line to replace the double quotes with angle brackets, and bind this macro to a keyboard shortcut.
I know this is not ideal, but it is a quick and simple answer, that will make things easier for you. |
zen is the art of being at one with the two'ness |
|
|
v_v
Senior Member
Russia
29 Posts |
Posted - Oct 04 2010 : 01:47:37 AM
|
Hello! I have similar issue. We have a code style instructions that obliges us always use #include <> (due to search order depending on project settings). Is it possible to make VA always use one type of quotas? (throw registry settings may be)
Thank you in advance, Valerij |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Oct 08 2010 : 5:12:09 PM
|
Apologies for the delay, I have put in a feature request for this, to see what our developers make of it:
case=51056
I can see how a setting like this this might be useful some of the time. |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Nov 12 2010 : 3:24:16 PM
|
case=51056 is implemented in build 1836
Create or modify the following DWORD value in the registry:
HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet8\\AddIncludeTokenStyle = 0
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 <> |
Whole Tomato Software, Inc. |
|
|
|
Topic |
|