Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] released cut/copy/paste/delete features

http://dev.eclipse.org/bugs/show_bug.cgi?id=6078

a. it works under the compilation unit level
(paste works also on compilation units)

b. the selection for cut/copy/delete can span across many compilation units
(even closed ones)

c. undo (the editor undo) is supported for the open editors (the editors are
not saved)

d. copy and cut put the selected elements  to both a local clipboard and
the OS clipboard (so you can past anywhere - in a text editor too)

e. there's some context validation on paste - e.g. you cannot paste a type
over
a method

f. some more smartness is done when pasting over a compilation unit - it
tries
to put elements in their positions (e.g. a package declaration will go to
the
top of the file, and a type will go before any existing type declarations)

g. it works in the package viewer, outliner and type hierarchy

limitations:
. not d'n'd enabled (pls see bug#6305 for this)
. no shortcuts are available for there operations (pls see bug#6306 for
this)
. dulicate is not implemented (problems with selecting the newly created
elements - pls see bug#6307 for this)

marking this bug report as fixed


------- Additional Comments From Adam Kiezun 2001-11-26 09:02 -------

some verification on e:
you _can_ paste a type over a method - it puts the type below the method as
a
nested type of the type that declares that method

same is true for paste type over type (pastes as a nested type) - as
 for other IMembers (field, type, method, initializer)

you cannot, however, for instance, paste a package declaration or an import
over a method.





Back to the top