How do I stop Eclipse from refreshing some dir?

前端 未结 10 1228
日久生厌
日久生厌 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:24

    I found out a way to stop auto refreshing at eclipse startup.Below are the steps:-

    Windows->Preferences->(Search Keyword:-Workspace)->General->Startup And ShutDown->Uncheck Referesh workspace on start up.

    Done ...!!! Work like charm for me.

    0 讨论(0)
  • 2020-12-30 04:26

    I found an effective hack that can in effect make Eclipse ignore a directory. See Eclipse - Ignore Entire Directories

    0 讨论(0)
  • 2020-12-30 04:28

    To exclude entire projects, you could close them. Don't know a way for individual directories.

    0 讨论(0)
  • 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"

    0 讨论(0)
提交回复
热议问题