i installed the plugin e(fx)clipse but i don't know how to add a css file to my package. i right click and there is no option of .css or .fxml files as compared to netbeans. Can anybody tell me what am I missing over here?
1 Answer
For FXML, you can do "File" -> "New" (or right-click and "New") -> "Other" (or CMD-N to get this far), then expand JavaFX and you have the option for new FXML document.
For CSS, if you also have the web tools platform plugin (which I think is standard with Eclipse for JEE but not for Eclipse for JSE), do the same and expand "Web" and there is a CSS option. Otherwise you can just expand "General" and choose "File". If you need an additional plugin that edits CSS files, something like Web Developer Tools should work (though it might issue warnings for JavaFX-CSS properties that are in general not web-CSS properties; I just live with those warnings).