• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Anyone here edit JSP in Emacs?  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If so, do you have it set up to highlight EL? Nothing I've come across so far manages this.
 
Bartender
Posts: 19731
92
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid that EL didn't exist last time I did JSP editing in Emacs. Back then I was struggling with getting it to handle scriptlets properly.

I solved the scriptlet problem. I learned not to put logic on my web pages. So no scriptlets.

If you're proficient in ELISP, you might want to dig out the stuff that highlights shell script variables when editing in shell mode. The same general rules for highlighing "${VARIABLE}" expressions should be adaptable to "#{el expressions}".

Unless you're doing free-form EL on a webpage, however, you'll probably have your EL in quotes, and the quote highlighter would normally be given precedence. At that level, even heavyweight IDEs like Eclipse only do a so-so job.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!