Skip to content

Go to definition does not work for imports #2905

@jvican

Description

@jvican

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions