score:43
Uncheck this and apply your changes-
Windows Preferences->General->Start up and Shut down->Workspaces->Check Prompt For workspace on start up
Apply and OK
Close the eclipse.
Open eclipse
Give your new workspace path and choose it as default.
score:0
Go to Window/Preferences/Workspace/Startup and Shutdown.
Uncheck prompt for workspace. It worked.
score:0
I had this problem on MacOs. When I installed STS, I copied its sts-bundle
folder to the Applications directory and launched STS using the STS.app
file. When I started it up, it repeatedly prompted me for the workspace file even though I changed the preferences to not do this.
Finally, what worked for me was to right-click the application while it was in the dock and choose "keep in dock" from the options menu. Now, if I start STS using the icon on the dock, I am no longer prompted for the workspace every time.
score:1
Buried in the eclipse folder there is a settings file somewhere that has this option set, it also has a list or the workspace history. Just delete this and you will be allowed to select a new location. U can also delete the .metadata folder in your workspace (will lose ur prefs) or just move that workspace folder to a new location all together. I think Eclipse will prompt u in all these situations.
score:1
It works for me:
Fix 1:
- how to force eclipse to open default workspace automatically or ask for default workspace when open your eclipse
- Click Window –> Preferences
- Click General –> Startup and Shutdown –> Workspace
- List item
Fix 2:
- Go to your eclipse home
- Send your eclipse.ext to desktop shortcut
- Now go to desktop and right click it — click properties
- In target input box append target location with -clean command
- Double click eclipse shorcut to open
score:2
For Neon Eclipse following, I did following thing and it worked out properly.
Modify osgi.instance.area.default="your preferred workspace folder" in $ECLIPSE_HOME/configuration/config.ini file.
Please take note that while mentioning your workspace folder ,path should be absolute path and in Unix style.
For example if your workspace folder is:
C:\Workspace in windows
, then above value will be like below:
osgi.instance.area.default=C:/Workspace
score:3
Open Eclipse, follow File => Switch Workspace => Other => Browse
Select the directory that you wanna use as a workspace, then click OK. Eclipse will be restarted and you will be able to work in your new workspace. If you wanna add new workspace(s) follow the same method explained above. Your all workspaces will be listed after Switch Workspace option, so you will be able to easily select your previous workspace(s). Your recent workspace will be your default workspace.
score:4
You can select "Prompt for workspace on startup" in the preferences at "General" -> "Startup and shutdown" -> "Workspaces" and then restart, setting your new default workspace.
score:8
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.
score:22
In the path
eclipse\configuration\.settings\org.eclipse.ui.ide.prefs
Change the Order of workspace here
RECENT_WORKSPACES=F\:\\new workspace\nF\:\\worksapce
score:27
As all the other answers don’t seem to satisfy you I am wondering what it is that you really want. So I will add another option: use the command-line parameter “-data” to specify a location for the workspace. With this you can create several launchers/shortcuts that will open different workspaces.
$ eclipse -data $HOME/workspace/
Source: stackoverflow.com
Related Query
- How to change the default Eclipse startup workspace?
- How to change the Eclipse default workspace?
- How do I change the default author and committer in the Eclipse Git plugin?
- How do you change the default test location in Eclipse when using Maven?
- How to change the default C++ file extension in Eclipse CDT when creating a new file?
- How can I change the default IDetailPane in an Eclipse plugin?
- How to change the default size of the eclipse inspect wizard window
- How do I change the default Eclipse Oxygen compiler compliance level from 9 to 1.8 and not have it revert back to 9?
- How can I change the default Eclipse console?
- How can I change the layout of eclipse workspace selection dialog?
- how to change the foreground color of the default Matching item for Eclipse in dark theme?
- How to set default encoding and line delimiter in eclipse down to the workspace catalogues tree to UTF-8 and Unix automatically?
- How to change the default startup page in eclipse?
- Why Eclipse Kepler opens default workspace on startup regardless of the prompt preference?
- How to change the list of default error parsers in new Eclipse CDT projects
- How to change the value of ${user} variable used in Eclipse templates
- How to change an Eclipse default project into a Java project
- How can I disable the eclipse server startup timeout?
- How to change the color of current line & text selection in eclipse (for Java)?
- How to change the highlight color in autocomplete box in Eclipse
- How to change default JRE for all Eclipse workspaces?
- How do I change the default text font in Eclipse?
- How do I change in an eclipse web project the WebContent folder to something different?
- How to change the background color for changed files in eclipse project explorer?
- How to change the font size of the Eclipse editor tab's title
- Where to tweak an Eclipse to change the default settings used when creating a new Workspace?
- How to set 'File Search' as the default dialog when pressing CTRL + H in Eclipse or STS?
- Eclipse dark theme for windows: how to change the color of scroll bars and title bars to dark?
- How to make the whole line change color in Eclipse when I toggle a breakpoint?
- How to change default Eclipse WTP "Web Resources" dynamic folder
More Query from same tag
- Issue with Axis2 WebService running on Apache Tomcat 7
- git is not ignoring an eclipse .version file
- Eclipse BPEL web service deployment testing
- Prevent LogCat Session Filter from stealing focus
- cross platform git: possible strategies to handle platform specific files
- How to perform Junit tests without affecting real data?
- Java Eclipse CheckStyle Shortcut Key for Apply Checkstyle Fixes
- Unversioned file lost on git hard reset
- Transforming image to Ascii code using conversion of grayVal to Ascii Character
- Eclipse Kepler Crash Maney time in Ubuntu14+
- SDK Manager - Won't install new packages (install button remains "unclickable")
- First time android application errors
- How to solve "Unresolved inclusion: <iostream>" in a C++ file in Eclipse CDT?
- Java placing text onto image not showing up
- Eclipse/Subversive: How to commit always on Eclipse exit?
- Groovy DSLD doc not showing
- Building OpenCV4Android from trunk
- Using Eclipse PyDev's search function with external libraries
- Eclipse add imports below comment
- Hadoop Eclipse Plugin Build Error
- How to fix the error when occurred Installing updates of maven to eclipse
- How to search for a method or variable name within android project?
- I'm unable to launch apache ODE
- FreeRDP on Android - How to get this code working in android and windows?
- Tycho: Maven build on CLI works, but when running in Eclipse Application modules cannot be resolved
- Debugging Python when both PyDev and CDT natures in same Eclipse project
- Is there a way to determine in Android if an Activity's content view has been created/displayed?
- Eclipse - scroll back after viewing definition
- Eclipse IDE - Spring MVC - Status 404 - The Requested resource is not available - RequestMapping issue (Not Maven)
- Difference between static and dynamic web project in eclipse