• 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Anyone here edit JSP in Emacs?  RSS feed

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.
Posts: 20562
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.
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
global solutions you can do in your home or backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!