This post will show you how to hide project and DS_Store files from eclipse or zend studio. I will explain how to get eclipse or zend studio to ignore the .project / .buildpath / .settings / .DS_Store files by default for all projects!
Hide project and DS_Store files from eclipse
Go to Preferences > Team > Ignored Resources
Click ‘add pattern’
Then add the files you want to ignore.
Now when you make a new project it will hide project and DS_Store files from eclipse or zend studio automatically!
If you already have the files in your svn, then to get rid of them, simply delete them and do a commit after you have added them to the ignored resources above, and they wont appear again!
Sources: Eclipse Help