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

Linked source folder disappears until Eclipse is restarted #2004

Open
Bestsoft101 opened this issue Feb 10, 2025 · 3 comments
Open

Linked source folder disappears until Eclipse is restarted #2004

Bestsoft101 opened this issue Feb 10, 2025 · 3 comments
Labels
needinfo Further information is requested

Comments

@Bestsoft101
Copy link

Create a Java Project
Image

Link a source folder
Image

Image

Delete the source folder (The actual folder on the hard drive, not from the project)
Refresh the project

  • The folder is no longer displayed in the project
    Image

Now restore the deleted folder, and refresh the project again

  • The source folder should now appear in the project, but it doesn't

Restart eclipse

  • The folder is now in the project again

This is quite annoying when working with git, where changing from one branch to another can create or delete folders

@jukzi
Copy link
Contributor

jukzi commented Feb 10, 2025

lets narrow it down: do you need a java project for this or does it also happen for a plain project without java nature?

@jukzi jukzi added the needinfo Further information is requested label Feb 10, 2025
@Bestsoft101
Copy link
Author

How do you link a source folder in a non-java project?

@iloveeclipse
Copy link
Member

I believe it is a duplicate of eclipse-platform/eclipse.platform#470 and there is a draft PR eclipse-platform/eclipse.platform#473 that unfortunately needs more work.

See eclipse-platform/eclipse.platform#470 (comment) with the explanation what is needed to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needinfo Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants