> Mike wrote:
> How do you get JSPs to highlight? This is something I've been
> trying to do for ages!! When I open them VJ++ treats them as
> text files? I would rather it treated them as HTML files, but
> JAVA files are ok. Where can I configure this?
You need to go into regedit to do that. After doing the steps
I will describe your JSP files should look like ASP files in
the editor, ie the <% // java code... %> will be highlighted
(which is great comparing how the file looks in text mode
= messy). See the end of the mail.
> Luc wrote:
> But even if MS development tool has great debugging features,
> being forced to use MS JVM seem to me a very exepnsive price
> to pay.
What I meant by debugging: I use JRun with the Microsoft VM, so
I can attach the debugger to that VM and select the exceptions
which should be caught by the IDE. I do not know if this kind
of comfort is possible with other development tools. I'm still
free to use any JVM I want and VJ++ just as a compiler
(JDK 1.1.x) and editor. Then I only cannot debug with VJ++, but
this is only necessary during development.
Regards
Bernhard
------ How to enable Syntax Highlighting with VJ++ and JSPs
-----------------
1. start regedit (Start Menu -> Run -> regedit)
2. navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Languages\File
Extensions
Here you will find the supported file types. JSP
should look like ASP so we will duplicate the ASP key.
3. Create a key "JSP"
4. Copy the standard value of ASP to JSP
5. create a string "unused" and copy the value from ASP
Now start Microsoft Visual J++ and the JSPs will be
syntax highlighted. Magic!
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html