I think you did not provide enough information to understand what is the problem here. However, I think, your workspace.xml
file is resetting each time you are updating your code from git or some other version controlling system. If you are using a mac, the code styling or other configuration of the IDE is stored in here and each time you load the program, it loads the IDE configuration from the file.
Now there can be several cases here.
- You are not committing the changes in your
workspace.xml
file while you are committing and pushing your changes to your remote git repository.
- You might have added the
workspace.xml
file in git/remote repository before and then have added the file in your .gitignore
file later. Hence, the newly modified workspace.xml
is not being tracked anymore and the changes are not submitted in the remote repository. And then each time you are pulling the code from the remote repository, you are getting the older version of your workspace.
If this is a problem with a git, I would recommend removing the file from the remote git repository as described here in this answer.