Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Import statements with wildcards(*) cause "Go to definition" and "Find references" actions to malfunction or stop working #1211

Closed
2 tasks done
gituser1000000 opened this issue Aug 14, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@gituser1000000
Copy link

gituser1000000 commented Aug 14, 2023

What happened?

If a source file contains an import statement with a wildcard(*) such as "android.view.*", "Go to definition" and "Find references" stop working and always flash the messages "Definition not found" and "No references found".

What's the expected behavior?

We should be able to use import statements with a wildcard(*) without causing other problems.

What version of AndroidIDE you're using?

v2.5.2 (debug builds)

Relevant log output

No response

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@gituser1000000 gituser1000000 added the bug Something isn't working label Aug 14, 2023
@gituser1000000 gituser1000000 changed the title [Bug]: Import statements with an "*" cause some actions to misbehave [Bug]: Import statements with an "*" cause some popup actions to always flash the messages "Definition not found" and "No references found" Aug 24, 2023
@gituser1000000 gituser1000000 changed the title [Bug]: Import statements with an "*" cause some popup actions to always flash the messages "Definition not found" and "No references found" [Bug]: Import statements with wildcards(*) cause "Go to definition" and "Find references" actions to malfunction or stop working Sep 1, 2023
@gituser1000000
Copy link
Author

Even though the majority would discourage the usage, there are many who would still want to use it for some valid reasons. After all, it's a language feature that allows the usage, so it's expected that it should not cause problems for the IDE.

@itsaky itsaky added this to the v2.6.1-beta milestone Nov 11, 2023
itsaky added a commit that referenced this issue Nov 13, 2023
@itsaky
Copy link
Member

itsaky commented Nov 13, 2023

Fixed in a0cb71b.

@itsaky itsaky closed this as completed Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants