Bug 329417 - [create on paste] Allow to paste types with same name into Package Explorer
Summary: [create on paste] Allow to paste types with same name into Package Explorer
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 04:42 EDT by Dani Megert CLA
Modified: 2010-11-04 09:14 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(){}
}
---------%< ---------