Skip to content

Go to definition does not work for imports #2905

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

Closed
jvican opened this issue Jul 22, 2017 · 1 comment
Closed

Go to definition does not work for imports #2905

jvican opened this issue Jul 22, 2017 · 1 comment
Assignees
Labels

Comments

@jvican
Copy link
Member

jvican commented Jul 22, 2017

When you go to the definition of a selector in an import statement, the IDE does not bring me to the definition of that symbol. I presume that is because the selectors are usually names or strings (at least this is the case in Scalac) and its support need to be special cased.

However, what I find surprising is that go to definition doesn't work for the prefix of the selector either (which is, I believe, a symbol). This seems to confirm that imports are not handled by the IDE, at all. I've tried all the imports in the TreePickler file with no luck.

I think handling them would be very beneficial 👍. I believe this is an IDE bug, so I'm labeling it as such.

@Duhemm
Copy link
Contributor

Duhemm commented Nov 16, 2018

Fixed in #4199

@Duhemm Duhemm closed this as completed Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants