Community
Participate
Working Groups
Build Identifier: 20110916-0149 Split pasted qualified class name (i.e. com.foo.service.MyClass) automatically to "Package" and "Name" fields instead of displaying error "Type name must not be qualified." Reproducible: Always Steps to Reproduce: 1. Right click on project -> New -> Class 2. Paste qualified Class name in Name: field (i.e. com.foo.service.MyClass)
One more little enhancement I can think of is to check the clipboard and fill package and class name on opening "New Class Window". But that may be a little invasive and probably should be somehow customizable.
Fixed in master: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=cb716ea8e9ff9d21632475ee0d3e28ef99920dac We only split automatically if the package name would be valid and the Name field was empty (or fully selected) before pasting. (In reply to comment #1) We never automatically paste (e.g. since that could be a security problem).