Visitors Counter

Home arrow User Guide arrow Preferences arrow Imports & Declaration
Imports and Declaration PDF Print


  • Import classes when performing "Insert" or "Replace"
    performs automatic import.
  • Import classes when performing "Declare Logger"

  • Declare logger when performing "Insert" or "Replace"
    performs automatic declaration of your logger.
  • Declare logger when performing "Declare Logger"
    • A "global Logger" with static methods doesn't need a declaration.
  • Declare logger in inner classes [Pro version only]
    If disabled, the logger won't be declared in inner classes

  • Logger Name (${logger})
    Name of logger. The name can be used in the template definitions. Example: "logger"

    As a result the logger imports and declaration is automatically inserted like in that example:

    import org.apache.log4j.Logger;
    public class MyClass {
    * Logger for this class
    private static final Logger logger = Logger.getLogger(MyClass.class);