Tien Nguyen
Tien Nguyen

Reputation: 4358

Config eclipse to view .esp as a jsp file

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

Answers (2)

Robert Munteanu
Robert Munteanu

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

Pieter
Pieter

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

Related Questions