Hi!
Recently I managed to get Visual Studio to syntax-highlight my .inc files as
if they were .asp files. To my surprise, for this I had to tweak with
registry values.
Now syntax highlighting is all right, but the Document Outline window shows
nothing as in the case of e.g. text files. Does anybody know how I could
solve this? I mean, I would like to have VS handle .inc files completely the
same way as .asp files. (As it normally should anyway, IMHO. I don't know
why it was left out.)
Thx,
Agoston
Bob Barrows [MVP] - 09 Dec 2004 11:57 GMT
> Hi!
> Recently I managed to get Visual Studio to syntax-highlight my .inc
[quoted text clipped - 8 lines]
> Thx,
> Agoston
It is considered to be good practice to give include files the .asp
extension instead of .inc to prevent users from downloading them by browsing
to them. Put them into an Includes folder if you wish them to be
differentiated from "standalone" asp files.
If you're resistant to that idea, then I have no answer for you. I'm not
sure it's possible
Bob Barrows
PS. You're still being a little too liberal with your crossposting. This
issue has nothing to do with debugging and absolutely nothing to do with
VS.Net. Please start by posting to the single newsgroup that seems the most
relevant to your issue. If you don't get an answer, then start expanding
your search. Continual posting to non-relevant groups will only get you
kill-filed by the people you wish to be reading your question.

Signature
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Mikhail Arkhipov (Microsoft) - 10 Dec 2004 04:17 GMT
VS 2003 or VS 2005?
Mikhail Arkhipov (Microsoft)
-- This post is provided 'AS IS' with no warranties and confers no rights
On 12/9/04 1:10, in article #tAPY#c3EHA.3452@TK2MSFTNGP14.phx.gbl, "Agoston
Bejo" <gusz1@freemail.hu> wrote:
> Hi!
> Recently I managed to get Visual Studio to syntax-highlight my .inc files as
[quoted text clipped - 8 lines]
> Thx,
> Agoston
Agoston Bejo - 10 Dec 2004 08:21 GMT
VS 2003.
> VS 2003 or VS 2005?
>
[quoted text clipped - 16 lines]
> > Thx,
> > Agoston
Bob Barrows [MVP] - 10 Dec 2004 12:36 GMT
> VS 2003.
Lesson learned. I assumed you were talking about VS6. I should have asked.
This means I have to revise my last statement: this question has nothing to
do with VI6. The "vi" groups are for Interdev 6. The vsnet groups are for
VS.Net. I wish MS had made this distinction clearer, but now you know.
Bob Barrows

Signature
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"