HS+, Color Coding, and ASPX

This post is more than 2 years old.

I ran into a wierd issue today, probably because I'm a bit slow, so to hope others avoid my dumb mistake, I thought I'd share.

For some reason, all my aspx files were being color coded incorrectly. Instead of nice coloring, HS+ was displaying all asp code as one big yellow block.

I had hit F8, selected File Settings, and went into File Extension Manager (which was a mistake by the way). I double checked the Active Server Pages type - and saw that it did indeed have aspx as an extension.

Of course, my mistake was in not going into the Color Coding section. There I plainly saw ASP-VBScript but only with asp;asa, not aspx. Once I added the extension, it worked great.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Dennis Spaag posted on 11/7/2003 at 4:42 AM

Unbelievably, I just ran into the same thing today. Difference was I needed to add php4 to the color coding. It took a second to figure that one out. So, doing what worked, and avoiding the question, Why are the file extensions managed in two places anyway?

Comment 2 by Raymond Camden posted on 11/7/2003 at 6:38 PM

I'm guessing to separate the tasks. One pane determines how the extensions are related, another is just concerned with color coding. They could all be in one place, but then it may get too busy.

Comment 3 by Jeff Wilkinson posted on 12/2/2003 at 11:48 PM

If you'd like homesite syntax highlighting for ASPX, C#, and other .net file format, you can find them at my site.