Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / December 2004

Tip: Looking for answers? Try searching our database.

asp-style document outline for .inc files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Agoston Bejo - 09 Dec 2004 09:10 GMT
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"


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.