Skip to content
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

Projects that use the same package and class names point to the wrong files in "link" operations #7210

Open
istinnstudio opened this issue Mar 30, 2024 · 1 comment
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@istinnstudio
Copy link

istinnstudio commented Mar 30, 2024

Apache NetBeans version

Apache NetBeans 21

What happened

Projects that use the same package and class names are being mixed in "go to" operations. Those operations for example is "select in projects" menu and any click in the output terminal that links a line in a class. The operations link to the wrong class, they link to the first available project found in project list and not to the current working one.

Language / Project Type / NetBeans Component

No response

How to reproduce

Add 2 projects that are identical copies (like a fork/branch), packages and classes will have the same name, the project name can differ. Edit or use the 2nd one. Links will be directed to the 1st instead of the current.

Did this work correctly in an earlier version?

No / Don't know

Operating System

windows 10 x64

JDK

21

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

@istinnstudio istinnstudio added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Mar 30, 2024
@istinnstudio
Copy link
Author

istinnstudio commented Apr 8, 2024

The only workaround I can find is to use a 2nd instance of netbeans using --userdir for the forked project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

1 participant