scala-ide-portfolio is a Public Portfolio from Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

Create your own Portfolio or check out other free and subscription products from Assembla that will help accelerate your development projects.

 
  #1000476

Completions should propose all classes on the classpath (and add Import)

    • Created on: Tue, Jul 12 2011 (11 months ago)
    • Reported by: yairogen
    • Assigned to: skyluc
    • Milestone: 2.0
    • Type: Enhancement
    • Version: 2.0.0-beta07-29
    • Operative System: -
    • Status: Fixed
    • Priority: Normal (3)
    • Component: JDT integration
    • Permission type: Public
    • Fixed in version: -
    • Eclipse version: Helios
    version info:

    Scala plugin version: 2.0.0.beta-08-29-201107121001-7d78460

    Eclipse version: 3.6.2.v201102101200

    in the java editor you usually have an option to have imports added using ctrl+space on a new class. This doesn't work for scala. I see this as a bug. it's a must.
  • Followers
     
    Ico-users skyluc (Assigned To) , Iulian Dragos , nilskp , yairogen 
     
    Attachments
    No attachments
    Associations
     
    # Relation Summary Status Action
    Activity
     
    User picture

          on Jul 12, 2011 @ 04:18am UTC * By Iulian Dragos

    Status changed from New to Need Info
    Can you please be more explicit? Maybe provide an example? Have you checked the Known Issue page?

    http://scala-ide-portfolio.assembla.com/spaces/scala-ide/wiki/Known_Issues
    User picture

          on Jul 12, 2011 @ 04:34am UTC * By yairogen

    These settings are not enabled even thought I did check the "use recommended settings" when changing the advanced content assist settings it is better but doe not offer imports from java.

    I.E. I type Map and want to import Java Map but it only suggests Scala Map.
    User picture

          on Jul 12, 2011 @ 06:43am UTC * By Iulian Dragos

    You only get completions for types that were actually imported (regardless of whether they are Scala or Java types). You may open another ticket, or rephrase this one as a feature request (it's something that was mentioned before, so it would be good to keep track of it in with a ticket).
    User picture

          on Jul 13, 2011 @ 12:33am UTC * By yairogen

    Description changed from version info: Scala plugin... to version info: Scala plugin...
    Summary changed from auto complete for imports or code assist in scala files does not work at all. to Trying to have an import inserted by ctrl+space doesn't work
    User picture

          on Jul 21, 2011 @ 08:40am UTC * By Mirco Dotta

    Type changed from Defect to Enhancement
    Component changed from None to JDT integration
    User picture

          on Aug 15, 2011 @ 06:43am UTC * By Iulian Dragos

    Milestone set to 2.0
    Status changed from Need Info to Accepted
    User picture

          on Sep 02, 2011 @ 08:47am UTC * By Iulian Dragos

    Summary changed from Trying to have an import inserted by ctrl+space doesn't work to Completions should propose all classes on the classpath (and add Import)
    User picture

          on Sep 07, 2011 @ 05:26am UTC * By Mirco Dotta

    Assigned to changed from jaguarul to skyluc
    User picture

          on Sep 08, 2011 @ 01:47am UTC * By evil.ipos

    Any progress on this feature? Typing Ctrl+1 for import is tedious.
    User picture

          on Sep 13, 2011 @ 10:03am UTC * By skyluc

    Status changed from Accepted to Fixed
    Fixed.
    Added any class from the project classpath in the list of completion proposals, for the Scala editor.
    User picture

          on Sep 13, 2011 @ 10:05am UTC * By skyluc

    Fixed.
    Added any class from the project classpath in the list of completion proposals, for the Scala editor.

    commit: 75b2dd75abbe5d5760985295273261a75bf97f17
    Time Expenditure
    Loading