How to change the Eclipse default workspace?

后端 未结 15 1112
难免孤独
难免孤独 2020-11-30 17:10

Where can I change the default workspace in Eclipse?

相关标签:
15条回答
  • 2020-11-30 18:11

    Open a command prompt. Change to the eclipse home directory and type "eclipse -clean" e.g. C:/eclipse>eclipse -clean

    This will ask for the workspace selection. It will also force to set it as the default workspace.

    Then, go to eclipsehome-->configuration-->settings folder.

    open org.eclipse.ui.de.prefs in a notepad.

    set this property to true from false.

    SHOW_WORKSPACE_SELECTION_DIALOG=true

    You will be asked for a workspace selection everytime.

    0 讨论(0)
  • 2020-11-30 18:12

    On Ubuntu I went to

    ~/.eclipse/org.eclipse.platform_4.3.0_1473617060_linux_gtk_x86_64/configuration/config.ini 
    

    and added this line at the bottom

    osgi.instance.area.default=@user.home/workspace
    

    and changed workspace to the dir path from my home to where I put my workspace.

    I combined @Frank answer with @Ronan Quillevere's comment

    0 讨论(0)
  • 2020-11-30 18:13

    If you mean "change workspace" go to File -> Switch Workspace

    0 讨论(0)
提交回复
热议问题