When editing JSPs in Netbeans, the scriptlets and JavaScript sections are both highlighted the same color, which is a little visually confusing. Is there any way to modify the color scheme so that scriptlets have one background color and JavaScript sections have a different color?


I'm using Netbeans 7.2, and I've looked through Options->Fonts & Colors


You can change jsp scriptlet tag background color by

Options -> Fonts & Colors -> Select language JSP -> JSP Scriplet tag -> Change the background Color

and for javascript

Select Language HTML ->Javascript Embedded in HTML -> Change the background Color

  • Awesome, it looks like Netbeans 8 added this functionality. – RustyTheBoyRobot Dec 1 '14 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.