0

I was doing some coding in jsp file in eclipse. I came across one thing, that I am not able to highlight variables with same name in JSP files. For example, when we are working in .java files, when we hover our mouse on particular variable, then that variable gets highlighted everywhere in that .java file. Also when we bring our mouse and press ctrl key, then the text gets changes to a link.

How can I do the same with .jsp files. I also came across here

but it didn't help. Guide me.

Community
  • 1
  • 1
JPG
  • 1,247
  • 5
  • 31
  • 64

1 Answers1

0

because a jsp file is not a java class so the auto-completion and highlighting does not work as in a java file but as in a html file

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.wst.sse.doc.user%2Ftopics%2Ftsrcedt023.html

aurelius
  • 3,946
  • 7
  • 40
  • 73