Menu

#123 Automatic Import

open
5
2002-11-22
2002-11-22
No

User opens a file foo.java, that imports package bar. In
order to use it, or test it in the interactions pane he/she
has to write "import bar" each time. Automatic Import
should allow the user to use the foo class automatically
without the need to write the "import bar" line.

Discussion

  • Moez A. AbdelGawad

    Logged In: YES
    user_id=644952

    We use the method getPackageName() of the Definitions
    document (which is already used to add the package to the
    CLASSPATH) to get the document's package, and import it
    automatically in the interactions pane when the user opens
    that document (Java file)

     
  • Moez A. AbdelGawad

    Logged In: YES
    user_id=644952

    Worked on it, and almost done. What remains is small
    testing issues that would be done and committed soon.

     
  • Peter Centgraf

    Peter Centgraf - 2003-11-24

    Logged In: YES
    user_id=431096

    What's the status of this code? If the changes were lost to the
    sands of time, we should reallocate this issue to someone else.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.