Skip to content

IDE completion should know about renaming imports. #3979

Closed
@odersky

Description

@odersky

Say you have

import java.util.{List => JList}

Then scope completion with J should give JList. Right now it cannot to that because we return lists of symbols from completion requests, and List is clearly not a valid completion.

For the moment, renamed imports are simply ignored. To fix this, it would be good to first have some tests for completion requests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions