Reputation: 4358
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...
Upvotes: 0
Views: 269
Reputation: 68278
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.
Upvotes: 0
Reputation: 903
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.
Upvotes: 1