views:

24

answers:

1

I would love Notepad++ to show the comments correctly (see screenshot)

Is there any plugin that takes care of it? Or is there any way I can get it to default to another languages' formatting when I load a JSP file?

A: 

Since Notepad++ 5.6.5 which was released only 5 monts ago there's a builtin JSP syntax highlighter. Are you using the right version? If it's behaving buggy, you'd better report a bug to the Notepad++ guys.

BalusC
I'm using 5.6.8 and I have submitted a bug report to them. No response as far as I know...
Lye
What if you try to associate it with ASP highlighter?
BalusC
Also doesn't pick up the comments?
Lye
Well, I'm out of ideas other than suggesting another editor or an fullworthy IDE :) I myself use Eclipse.
BalusC
Thanks for trying :)
Lye
Although I don't use it for JSP, I tried it in my favourite text editor [Editplus](http://www.editplus.com/) and Java comments in JSP scriptlets are shown correctly. Unrelated to the problem: raw Java code in a JSP files is considered poor practice... Learn [servlets](http://courses.coreservlets.com/Course-Materials/csajsp2.html) ;)
BalusC