Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 / instead \\ for auto #include (case 226)

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
lib_team Posted - Feb 20 2009 : 04:50:42 AM
Hy,
I have install new version of Visual Assist. Your new feature "Add include" is soo great !

It's possible to change some parameters (or config file) to use / between folder/file instead of \\ in #include.

for ex.
#include "MyFolder/Myfiles.h"
instead of
#include "MyFolder\\Myfiles.h"

We prefered / because we make multi plateform code and it's in our Coding Standard/Style.

thanks
3   L A T E S T    R E P L I E S    (Newest First)
support Posted - Mar 30 2009 : 08:40:44 AM
case=23341 is implemented in build 1721
gtflip Posted - Mar 24 2009 : 4:20:32 PM
I just discovered this. My personal preference would be for it to be configurable or default to '/'. I also write cross-platform code, and '/' works in VS and gcc, but '\\' doesn't work in gcc (at least in my experience on non-Windows).
feline Posted - Feb 20 2009 : 11:37:08 AM
We are looking to change this feature so that it uses the path delimiter that is already being used in the current file:

case=23341

hopefully this will make it into the next build of VA.

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