title: How to enable auto import in Eclipse for JavaFX classes?
body: <p>My current Eclipse is Oxygen.2 Release (4.7.2) and there's Java 9.0.1. Essentially Java 9 works and particularly auto import works (for "ordinary" classes and packages), but auto import (and autocompletion) does not work for <code>javafx.*</code>. If I manually type <code>import java</code> and press <kbd>Ctrl</kbd>+<kbd>Space</kbd>, then list of matching packages pops up where I can see <code>javafx.*</code> hierarchy. But when I type e.g. <code>import javafx.stage</code> and press <kbd>Ctrl</kbd>+<kbd>Space</kbd> it automatically adds <code>.*;</code> and does not display any classes in the package. When I type <code>Stage</code> somewhere in the method body and press <kbd>Ctrl</kbd>+<kbd>Space</kbd>, there are no suggestions for it. However when I type add an import (like <code>import javafx.stage.Stage</code>) then code compiles and runs.</p>
  
  <p>Any clues how to fix auto completion and auto import feature (which, as I said, works for other classes, like for instance <code>java.time.LocalDateTime</code> or many othres).</p>