Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 How do I get refactor insert header to use <>/"?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mordachai
Tomato Guru

USA
224 Posts

Posted - Oct 20 2016 :  12:13:08 PM  Show Profile  Reply with Quote
I know C++ is implementation dependent in how <> vs. "" are interpreted by the compiler.

However, I am a practical programmer who uses VS exclusively and I wish to use the <> vs. "" correctly according to the compiler.

This means that I want to use "" only if the header / included file is rooted in the same folder as the calling file, and I want <> for all other files.

How can I tell VA this?

Edited by - sean on Nov 23 2016 5:24:25 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Oct 21 2016 :  7:17:12 PM  Show Profile  Reply with Quote
The <> style is normally used to include standard library header files and this is how we distinguish between <> and "". I know there are different methods to determine which characters to use, but we only support the above method. You can also set to always use "" or <>.

For example, if you use Add Include on std::vector, it will include

#include <vector>
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000