facebook

Optimize imports

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #225394 Reply

    peteclark3
    Member

    MyEclipse 3.8.4, eclipse 3.1m4 .. when I am in the MyEclipse editor for JSP, Ctrl-shift-o does not optimize the imports (does nothing… doesn’t bring in the classes I need to the import declaration).. tried java and myeclipse perspective , no luck

    Any ideas?

    #225430 Reply

    Riyad Kalla
    Member

    Any ideas?

    We don’t support Oragnize Imports in JSP pages yet, that’s why it isn’t working 😉

    #225440 Reply

    peteclark3
    Member

    I could have sworn it used to be in. Is there any way to auto include imports in jsp pages?

    #225441 Reply

    Riyad Kalla
    Member

    Is there any way to auto include imports in jsp pages?

    If you autocomplete the class names, it will add them for you at the top of your JSP page, so for example say “MyCustomBean” is giving “Class not found” problems, just go autocomplete it and the editor will add the <%@ page import %> directive for you.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Optimize imports

You must be logged in to post in the forum log in