Bug 329417

Summary: [create on paste] Allow to paste types with same name into Package Explorer
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2010-11-04 04:42:11 EDT
I20101102-0800.

Often, people list several test cases in a bugzilla comment that have the same class name. When trying to paste them at once, we ask to replace the type we just created before.

We could create a new project ("_pasted_code_2" in case of two types) if there are type clashes.


Test Case:
---------%< ---------
public class A {
	void test1(){}
}
public class A {
	void test2(){}
}
---------%< ---------