Closed jjohnstn closed 1 year ago
@mickaelistria This is the issue I was referring to in my duplicates patch.
So I could reproduce an issue, which I believe is the same one as yours (if I understood correctly):
Does it seem like your isssue?
Hi @mickaelistria Yes, that is the issue and your fix works well.
I have a generic project that has two Java projects nested within it.
I do an import that looks for nested projects.
In one of the nested projects (project3), I have a file: A.java:
If I do a File Search for "a = 3", I get two matches, one from the generic project and one from the Java project.
If I click on the first match, I get the Java file A.java opened by the Java editor. If I click on the same match again, the editor switches to a generic Java editor which gives errors if I attempt to do completion (compilation unit is not on build path of Java project). If I instead open the Java project match second, it keeps the Java editor open. If I go back and click the original match, it switches back to the generic editor and there is only the generic editor open for the file in my editor list.