Copy Fully Qualified Class Name

From KevinWiki

Jump to: navigation, search

Copy Fully Qualified Class Name plugin provides a function to copy the fully qualified class name of a class.

e.g.) If the class Student is in the com.lckymn.kevin.beans package, the Copy Fully Qualified Class Name function copies com.lckymn.kevin.beans.Student to the clipboard. It is very useful when XML configuration files require the fully qualified name of classes (e.g. Spring Framework or mapping Servlets in web.xml file and so on).


Installation

  • Ganymede (3.4)
  1. Go to the Copy Fully Qualified Class Name web site.
  2. Download the plug-in for Eclipse 3.2 or greater.
  3. Make sure Eclipse is not running.
  4. Extract the file under dropins directory in the Eclipse.
    e.g.) extract the file to the following directory.
    eclipse/dropins/copyfully/eclipse
  5. Start Eclipse.

Using Copy Fully Qualified Class Name

  • There are two ways to use it
    • In the project explorer window or Java editor, right click on the class and select the Copy Fully Qualified Class Name option.
    • In the project explorer window or Java editor, press CTRL+ALT+C.
Personal tools