JSP Syntax Highlighting

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Jason

JSP Syntax Highlighting

Post by Jason »

I'd like to do syntax highlighting for just .JSP files. I've already added the JSP document class for the jsp5.zip .syn file I found in the Textpad downloads and all looks well.

I've also enabled the Syntax highlighting by doing the following:
Configure --> Preferences --> Document Classes --> JSP --> Syntax --> Enable syntax highlighting

When I open an existing JSP file, I don't get the highlights.

What am I missing?
Kok Leong

Re: JSP Syntax Highlighting

Post by Kok Leong »

You'd have to create a new JSP Document class by under the Configure menu and then enable syntax highlighting.
Glen Pfeiffer

Re: JSP Syntax Highlighting

Post by Glen Pfeiffer »

I am not sure if I got it, but I think what you need to do is associate the file extension with the document class you have already created. Do this by going to Configure, Preferences, Document Classes, JSP. Then all the file extension *.jsp to the box "Files in Class JSP".

E-mail me if you have any problems with this.

-Glen
Jason

Re: JSP Syntax Highlighting

Post by Jason »

Thanks! That was what I had omitted.
Glen

Re: JSP Syntax Highlighting

Post by Glen »

You're welcome.
Post Reply