aspose file tools
The moose likes JSP and the fly likes EL and autocomplete Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "EL and autocomplete" Watch "EL and autocomplete" New topic

EL and autocomplete

Sol Mayer-Orn
Ranch Hand

Joined: Nov 13, 2002
Posts: 311

My team is considering usage of EL, which we've never done before.
Up till now we used good old scriptlets/expressions - e.g. if we have a "User" bean, containing an "Address" bean, containing a "city" string, then:
- Currently we use <%= user.getAddress().getCity() %>
- Migrating to EL, it will become ${}

However, we're worried about code-asist (autocomplete).
Our beans are very complex, so my "user" bean would have about 15 attributes that are hard for programmers to remember.
With the old <%= user.x %> syntax , most IDEs offer code-asist (you just type "user." and see its attribute list).

Could anyone please tell of it's common practive among IDEs vendors, to support EL code-assist ?
We currently use Eclipse/MyEclipse, but we could migrate to another IDE (Intellij, Netbeans...) if that's what it takes to get code-assist.

It is sorta covered in the JavaRanch Style Guide.
subject: EL and autocomplete