-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code assist partially fails on latest Eclipse #91
Comments
ok I see - we expec that the JDK you run Eclipse with contains OpenJFX - we should check if JavaFX is available to avoid this error |
Ok, it works if I download Azul's Jdk with JFX included and change the eclipse.ini file to use that JDK. Thank you. |
Ok, the choice to "Pick Color" works in the content assist, but the choice "Pick Paint" generates the stack trace below missing FXCanvas: The FXCanvas class is present at C:\Program Files\Zulu\zulu-19\lib\javafx-swt.jar but Eclipse isn't picking up the jar file in the classpath when launching. I tried to add the jar as a -vmargs line in Eclipse.ini but that crashes the jvm on launching Eclipse. Is there a workaround?
|
I need to look into this - you can't do anything to fix this as the classloader to load FXCanvas needs to have access to SWT and JavaFX at the same time which is nothing you can provide by a command line switch |
Most projects get JavaFX as dependencies via Maven/Gradle. If the modules are required to be in the JDK, this severely limits the usability of the css autocomplete feature. |
On eclipse 09-22, using javafx sdk 18.0.1 with jdk 17, I get the following an error message "Error computing completion proposals." on control space in the e(fx)clipse css editor after the colon in the code below. I believe there is supposed to be a gradient picker popup choice.
Other code completion options do work, for instance control space does show the various fx-properties.
The stack trace from the error log is below:
The text was updated successfully, but these errors were encountered: