Child pages
  • Auto Import of Classes

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • As result of auto-import feature, shortest qualified name used for new import statement (you may choose option to use full qualified name). If any short or full qualified name can't be inserted, root qualifier added automatically.
    Note
    titleBe Careful

    This can produce bugs in plugin. With using placeholder, you automatically import packages. So inserted import can be hided, it can be rare case, but must be fixed.

  • All import statements from one package collected in one statement automatically. If classes from one peckage exceed option, which you set, it replaced by placeholder. You can remove option to stop collecting imports
  • If class name have only one candidate for importing, it can be imported on the fly, without pressing Alt+Enter. You need to choose appropriate option.
  • Also we want to provide You can choose option to insert import statemnts not only in file header. Local imports can be useful.