Bug 383632

Summary: [Import/Export] dialog "import existing project" from file system scans also .svn folder taking rather long for larger repos
Product: [Eclipse Project] Platform Reporter: thomas menzel <tmenzel>
Component: IDEAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: garydgregory, loskutov, paul.verest, prakash, pwebster
Version: 3.7.2Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description thomas menzel CLA 2012-06-27 06:59:16 EDT
the scan should exclude known folders that dont contain projects such as .svn.

i guess the easiest way to do this is having a config that can be edited manually. 

a more automatic approach would be have plugin providers extend this list, so that the cvs team provider would ad the .cvs folder and svn would add its .svn or _svn (dont know if that still exists though) etc.
Comment 1 Paul Verest CLA 2014-01-12 08:38:48 EST
I second that, now it is also .git folder that should be skipped
Comment 2 Gary Gregory CLA 2015-06-27 19:28:48 EDT
This is still painful in 4.5.
Comment 3 Andrey Loskutov CLA 2015-06-28 01:46:06 EDT
Schould be a trivial fix. IResource.isTeamPrivateMember() exists exact for such use cases.
Comment 4 Prakash Rangaraj CLA 2015-06-29 04:31:55 EDT
When we are searching, we won't have the project structure as IResources. So we can't use that API
Comment 5 Andrey Loskutov CLA 2015-06-29 04:42:50 EDT
(In reply to Prakash Rangaraj from comment #4)
> When we are searching, we won't have the project structure as IResources. So
> we can't use that API

I see. What is about org.eclipse.team.core.Team.getAllIgnores()?
Comment 6 Prakash Rangaraj CLA 2015-06-29 05:26:46 EDT
(In reply to Andrey Loskutov from comment #5)
> I see. What is about org.eclipse.team.core.Team.getAllIgnores()?

At present, IDE doesn't depend on the Team plugin. So can't use that API as well