Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans7.1 & JavaFX 2.0 - FXML code completion doesn't work

I started learning JavaFX 2.0 and installed Netbeans 7.1, java 7.02 SDK (wich contains JavaFX 2). Everything seems to work, the example projects compile and run fine.

My problem is: Code completition doesn't work for FXML files. I press ctrl+space and it shows "No suggestions" every time. The same for tags and attributes.

Does anyone know what could be the problem?

like image 349
Adamsan Avatar asked Nov 04 '22 04:11

Adamsan


1 Answers

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

like image 184
Uluk Biy Avatar answered Nov 09 '22 22:11

Uluk Biy