Description: When opening a parent directory containing multiple Java projects (acting as modules), renaming a module folder via the file explorer does not trigger a synchronized update in the Java Project Management view. Instead, the system fails to recognize the new name and incorrectly recreates an empty directory with the original name.
Build Tool: Maven
Steps to Reproduce:
Open a workspace folder that contains multiple Java sub-projects (modules).
Wait for the Java Language Server to finish importing and indexing all projects.
Rename one of the sub-project folders (e.g., rename old-module-name to new-module-name) using the OS file explorer or the IDE's built-in file tree.
Observe the Java Project Explorer/Manager view.
Actual Result:
The Java Project Manager still displays the old-module-name.
Automatically recreate a new folder named old-module-name in the file system that contains target and other directories.
The new-module-name folder is treated as an unlinked plain folder rather than a Java module.
Expected Behavior:
The Java Project Manager should detect the folder rename.
The project metadata should be updated or re-indexed to reflect the name change.