-
Notifications
You must be signed in to change notification settings - Fork 1.1k
IDE completion should know about renaming imports. #3979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Duhemm
added a commit
to dotty-staging/dotty
that referenced
this issue
Aug 21, 2018
We introduce a new `RenameAwareScope` that tracks the name associated with a symbol in the scope. Calling `toListWithNames` returns the list of symbols in this scope along with the name that should be used to refer to the symbol in this scope. Fixes scala#3979
Duhemm
added a commit
to dotty-staging/dotty
that referenced
this issue
Sep 4, 2018
We introduce a new `RenameAwareScope` that tracks the name associated with a symbol in the scope. Calling `toListWithNames` returns the list of symbols in this scope along with the name that should be used to refer to the symbol in this scope. Fixes scala#3979
Duhemm
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 1, 2018
We introduce a new `RenameAwareScope` that tracks the name associated with a symbol in the scope. Calling `toListWithNames` returns the list of symbols in this scope along with the name that should be used to refer to the symbol in this scope. Fixes scala#3979
There's a fix for that in #4977 |
Duhemm
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 19, 2018
We introduce a new `RenameAwareScope` that tracks the name associated with a symbol in the scope. Calling `toListWithNames` returns the list of symbols in this scope along with the name that should be used to refer to the symbol in this scope. Fixes scala#3979
Duhemm
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 27, 2018
We introduce a new `RenameAwareScope` that tracks the name associated with a symbol in the scope. Calling `toListWithNames` returns the list of symbols in this scope along with the name that should be used to refer to the symbol in this scope. Fixes scala#3979
Duhemm
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 28, 2018
We introduce a new `RenameAwareScope` that tracks the name associated with a symbol in the scope. Calling `toListWithNames` returns the list of symbols in this scope along with the name that should be used to refer to the symbol in this scope. Fixes scala#3979
Duhemm
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 30, 2018
We introduce a new `RenameAwareScope` that tracks the name associated with a symbol in the scope. Calling `toListWithNames` returns the list of symbols in this scope along with the name that should be used to refer to the symbol in this scope. Fixes scala#3979
Duhemm
added a commit
that referenced
this issue
Dec 2, 2018
Fix #3979: Completion for renamed imports
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Say you have
Then scope completion with
J
should giveJList
. Right now it cannot to that because we return lists of symbols from completion requests, andList
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.
The text was updated successfully, but these errors were encountered: