IDE:e(fx)clipse不能正常工作 [英] IDE: e(fx)clipse not working properly
问题描述
我已经在Eclipse中安装了e(fx)剪辑,以启用JavaFX兼容性。它正确地创建了以下内容:
- CSS和FXML文件与正确的编辑器相关联(从文件关联内)
它无法正常运行,因为它缺少执行以下操作:
- 为CSS中的每个条目显示
未知属性:-fx -....
- 它不会在FXML和CSS文件中自动完成。
- 它显示:
控制器'someController'没有字段'someField'
而这些字段在控制器中启动。
我已经尝试解决这个问题:
- 将JavaFX SDK添加到项目库中。
- 检查Eclipse的已安装软件部分,但所有e(fx)剪辑包都是正确安装。
- 从头开始创建一个新的JavaFX项目。
问题。我认为它与添加库有关,因为当我添加JavaFX SDK并单击下一步时,我得到一个blanco屏幕,我必须单击完成。当我这样做时,它只会添加 org.eclipse.fx.ide.css.jfx8
。这是正常的还是应该有更多的包?
我正在使用Eclipse Luna 4.4.1和Java JDK 8u40。
非常感谢任何帮助!
我在安装Eclipse Web开发工具和Eclipse Java之后解决了此问题网页开发人员工具。
I have the following problem:
I have installed e(fx)clipse in Eclipse to enable JavaFX compatibility. It properly created the following:
- CSS and FXML files are associated with the correct editor (from within 'file associations')
It is not functioning properly, because it lacks to do the following:
- It shows
Unknown property: -fx-....
for every entry in my CSS. - It does not autocomplete in both the FXML and CSS files.
- It keeps showing:
The controller 'someController' has no field 'someField'
, while the fields are initiated in the controller.
What I already tried to fix this:
- Added JavaFX SDK to the project libraries.
- Checked the installed software section of Eclipse, but all of the e(fx)clipse packages are correctly installed.
- Created a new JavaFX project from scratch.
This didn't fix the problem. I think it has something to do with adding the library, because when I add JavaFX SDK and click 'Next', I get a blanco screen and I have to click 'Finish'. When I do, it only adds org.eclipse.fx.ide.css.jfx8
. Is this just normal, or should there be more packages?
I am using Eclipse Luna 4.4.1 and Java JDK 8u40.
Any help is greatly appreciated!
I got this problem solved after installing Eclipse web developer tools and Eclipse Java web developer tools.
这篇关于IDE:e(fx)clipse不能正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!