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
 Parsing extensionless files?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sparky
New Member

3 Posts

Posted - Oct 10 2005 :  9:30:59 PM  Show Profile
Hi all,

I am using a bunch of headers from a 3rd party application that have no extension. All of the headers are sitting in a sub-directory of my main project directory and are referenced in my code as '#include "subdir/thefile"'.

However, I can't get these extensionless files to be parsed with build 1418 and Visual Studio 2005 beta 2. The files themselves remain plain black text and any symbols from those files remain unrecognised in my code (i.e. I can't go to them, see their details and they won't auto complete).

I have added ".;" to the end of ExtHeader value in the registry under the VANet8 key and I've added "*." to the "C/C++ File Extensions" entry in the options.

Is there anything else I need to do?

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Oct 11 2005 :  5:18:15 PM  Show Profile
is adding an extension to these files an option? i have tried a couple of things here, but without success. i will ask support and see what they can suggest.

zen is the art of being at one with the two'ness
Go to Top of Page

Sparky
New Member

3 Posts

Posted - Oct 12 2005 :  12:51:42 AM  Show Profile

I could possibly add an extension but given they have about 20 include files and I'd have to go through each one and add the extension to any place they include themselves, and there could be CM issues involved I'd rather work out a way to parse extensionless files, if one exists.

If you could get an answer from support I would be most appreciative!
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Oct 16 2005 :  11:14:52 PM  Show Profile
There is no workaround of which we know and the chance for support of files without extensions is very slim. We can imagine many things going wrong if we accepted all extension-less files as being code.

Go to Top of Page

Sparky
New Member

3 Posts

Posted - Oct 17 2005 :  01:52:44 AM  Show Profile

That's a shame. I guess I'll try and work around it. Thanks for your help anyway.

Ummm ... actually, something just occured to me! Why do the STL library headers (like map, list, dequeue, etc.) get parsed correctly when they don't have extensions?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Oct 17 2005 :  3:44:13 PM  Show Profile
i asked myself the exact same question. the file:

C:\\Program Files\\Visual Assist X\\Misc\\StdafxVa.h

seems to have something to do with this. i tried adding a line to this file, but without success, but you may have more luck. from the comment in the file

C:\\Program Files\\Visual Assist X\\Misc\\StdAfx.h

these two headers are overwritten when you install an update. it may be worth trying something, but unfortunately if you run into problems this is probably an unsupported work around. thinking about the problems parsing all extensionless files could cause is quite off putting, especially when i point my IDE at a shared UNIX directory. a lot of files on our UNIX machines have no extension

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000