Ignoring Files in Synchronize View

There are a number of files that I never care about in the synchronize view. Examples include the target directory where classes are written, the .settings directory where Eclipse writes project settings, the .project and .classpath files, etc.

You can tell Eclipse to ignore these files via Team configuration. Go to Window > Preferences and choose Team. Under there, choose Ignored Resources. Add a file glob for the resources you want to ignore. I listed:

    target
    .settings
    bin
    .classpath
    .myumldata
    .project    

Unfortunately, configuration for .settings doesn't seem to work for some projects. So, you may just have to live with it.

See also Getting rid of class files in Open Resource, which offers another way to ignore the target directory.

Note: I kind of regretted ignoring some of these when creating the MBO project. I accidentally forgot to check in the .project file, the .settings directory, the .classpath file, etc. You may want to avoid doing this until after you're sure these files are annoying you.

EclipseIgnoreFiles (last edited 2010-05-28 18:15:25 by KennethPronovici)