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...
Asked
Active
Viewed 238 times
2 Answers
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
-
I'm sorry but It's doesn't work for me in this case. – Tien Nguyen Dec 19 '13 at 09:53
-
Try adding *.esp also in Preferences > General > Content Types. Under Text > JSP add *.esp. – Pieter Dec 19 '13 at 10:08
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