Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get EL (Expression Language) content assist (autocomplete) in JSP / JSP Tags in Eclipse?

Is there a way, via configuration, upgrade or a plugin to get content assist in JSP EL expressions?

e.g.

${CTRL+SPACE ...

or

${pageContext.CTRL+SPACE ...

etc...

like image 327
Eran Medan Avatar asked Feb 08 '10 09:02

Eran Medan


People also ask

How do I turn on autocomplete in eclipse?

Step 1: Open your Eclipse or Spring Tool Suite, then go to the Window > Preferences as shown in the below image. Step 2: In the next screen go to the Java > Editor > Content Assist > Auto activation triggers for Java as shown in the below image.

How do I enable content assist in Eclipse?

To enable the Content Assist window to open automatically, go to the Content Assist Preferences page, accessed from Window | Preferences | PHP | Editor | Content Assist and mark the 'Enable auto-activation' checkbox.

Which will enable expression language in JSP?

Simple Syntax The most common operators in JSP EL are . and []. These two operators allow you to access various attributes of Java Beans and built-in JSP objects. When the JSP compiler sees the ${} form in an attribute, it generates code to evaluate the expression and substitues the value of expresson.

Why isn't my eclipse is not showing suggestions?

Try this: Go to Preferences » Java » Editor » Content Assist » Advanced. Make sure Other Java Proposals is ticked/checked.


1 Answers

maybe this one from jboss tools: http://community.jboss.org/wiki/CodeAssistinJBossToolsXMLandJSPXHTMLEditors

like image 83
Yoni Avatar answered Sep 18 '22 20:09

Yoni