Domanda

Ho iniziato ad imparare Javafx 2.0 e installato NetBeans 7.1, Java 7.02 SDK (che contiene JAVAFX 2).Tutto sembra funzionare, i progetti di esempio compilano e corrono bene.

Il mio problema è: Code Completion non funziona per i file FXML.Premo Ctrl + Space e mostra "nessun suggerimento" ogni volta.Lo stesso per tag e attributi.

Qualcuno sa cosa potrebbe essere il problema?

È stato utile?

Soluzione

You can still show autocomplete menu for attributes by pointing the cursor just beginning (or middle to show sublist) of the existing attribute and hitting ctrl+space. Also while writing tags, Netbeans suggests even automatically puts closing tags for you. At any point in the FXML file, if you see "No suggestions", just hit "Esc" and try again actions mentioned above :).

netbeans

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top