Method 1 of the Eclipse graphical tool :
After you open eclipse, select Windows->preferences-> in the Function menu, and after the dialog box pops up, select General->startup and shutdown->workspace-> The right view can see all the paths that appear in the workspace! Select the path you want to delete, then click Remove to get it!
Method 2 Manually modify the Eclipse configuration :
First step: Delete the Workspace project folder (as appropriate, not necessary)
Locate the workspace project folder under directory and right-click to delete the folder.
2
Step Two: Modify the Org.eclipse.ui.ide.prefs file
Open the \configuration\.settings directory of the Eclipse directory, locate the Org.eclipse.ui.ide.prefs file, and delete the workspace path.
3
Step Three: Restart Eclipse
After restarting the Eclipse software, clicking Swith Workspace will not see the workspace that has been deleted, that is, the test in our example.
Remove excess workspace from the switch workspace option in eclipse