eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

Linked source folder disappears until Eclipse is restarted

Open
#2,004 3 comments 0 reactions 0 assignees View on GitHub
needinfo
Dominant language
Java
Stars
59
Forks
127
Avg merge
22h 47m
Merged PRs (30d)
28

Description

Create a Java Project
![Image](https://github.com/user-attachments/assets/3582e650-71c8-4d87-a8c4-aa85dc82d182)

Link a source folder
![Image](https://github.com/user-attachments/assets/7b3a144b-39fa-462e-be9a-36722eca5e96)

![Image](https://github.com/user-attachments/assets/9a1c0fbc-7774-40b9-b752-6dccd2534f9e)

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](https://github.com/user-attachments/assets/634e1bab-210f-4acf-a317-0f57269da09d)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.