在使用Eclipse進行開發的時候,經Switch workspace打開的路徑用如下方法清除:
1.在Eclipse文件夾中找到org.eclipse.ui.ide.prefs : //eclipse/configuration/.settings/org.eclipse.ui.ide.prefs
2.用記事本打開這個文件。會出現用回車符(\n)分隔的的多個路徑,如下:
RECENT_WORKSPACES=D\:\\Users\\zhaofa\\workspace\\stm32f207\nD\:\\Users\\zhaofa\\workspace\\newbox2016_stm32f207\nD\:\\Users\\zhaofa\\workspace
3.刪除你不需要的workspace路徑,然後重啓Eclipse即可。