Author |
Topic |
|
Sparky
New Member
3 Posts |
Posted - Oct 10 2005 : 9:30:59 PM
|
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
|
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 |
|
|
Sparky
New Member
3 Posts |
Posted - Oct 12 2005 : 12:51:42 AM
|
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!
|
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Oct 16 2005 : 11:14:52 PM
|
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.
|
|
|
Sparky
New Member
3 Posts |
Posted - Oct 17 2005 : 01:52:44 AM
|
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?
|
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Oct 17 2005 : 3:44:13 PM
|
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 |
|
|
|
Topic |
|