Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 AddInclude should use <MyInclude>

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
weird.dreams 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
6   L A T E S T    R E P L I E S    (Newest First)
support 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 <>
feline 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.
v_v 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 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.
weird.dreams 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 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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000