How do I stop Eclipse from refreshing some dir?

前端 未结 10 1323
日久生厌
日久生厌 2020-12-30 03:38

Every time I start Eclipse it tries to refresh an entire project, which translates to more than 10 minutes of wait time, not to mention the ridiculous amount of memory it wo

10条回答
  •  青春惊慌失措
    2020-12-30 04:29

    According to this thread, no:

    • no settings per projects (for disabling auto-refresh)
    • no settings per directory within one project.

    For more recent versions of Eclipse, as detailed in Eclipse help page, you can use Resource filters (also initially mentioned below by pcoucke)

    Resource filters can be created, edited and removed in the File > Properties > Resource > Resources Filters property page for a project or folder resource.

    Resource filters only apply to files and/or folders that are implicitly included in the workspace by the refresh operation
    An "Exclude" resource filter prevent all files and/or folders that match the filter condition to be included in the workspace during the refresh operation.

    I mentioned an example in "How to have .git folders ignored by Eclipse projects"

提交回复
热议问题