0

I'm working on Apache Sling framework and my Eclipse IDE recognize esp file as a text file, so are there any way to make it work as jsp file so i could have auto complete, highlight effect...

Tien Nguyen
  • 4,298
  • 9
  • 30
  • 44

2 Answers2

1

You can add a file association in Preferences General > Editors > File Associations. Here you can add the esp file type and associate it with the jsp editor.

Pieter
  • 895
  • 11
  • 22
0

ESP files are not JSPs, they are server-sided Javascript files. Therefore there's no point in configuring an IDE to highlight them as JSPs.

Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278