vsch / idea-multimarkdown

Markdown language support for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/7896-markdown-navigator
Apache License 2.0
812 stars 129 forks source link

JavaFX Preview not working with Intellij IDEA 2020.2 ultimate edition #874

Closed zhaihao closed 3 years ago

zhaihao commented 4 years ago

Hello,I have updated Intellij IDEA to 2020.2 version, then JavaFX Preview option is missing

截屏2020-07-30上午9 56 56

so I change the boot JDK to Oracle 1.8 SDK, JavaFX Preview can work well,but Intellij IDEA UI occurs some bugs。

https://plugins.jetbrains.com/plugin/14250-javafx-runtime-for-plugins

Notes for plugin developers If your plugin uses JavaFX APIs to implement its UI, please add this plugin as a direct or optional dependency of your plugin. To do so, add com.intellij.javafx to the plugin.xml file of your plugin.

could you solve this issue?

zhaihao commented 4 years ago

when use intellij idea default sdk ,I have tried to add

--add-exports=java.base/jdk.internal.vm=ALL-UNNAMED
--add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED
--add-exports=javafx.web/com.sun.javafx.scene.web=ALL-UNNAMED
--module-path /Users/zhaihao/opt/javafx-sdk-14.0.2.1/lib
--add-modules javafx.controls
--add-modules javafx.web
--add-modules javafx.swing

but JavaFX Preview option is still missing.

nouse commented 4 years ago
Screen Shot 2020-08-12 at 11 31 57 AM

I install Java FX plugin manually, but Java FX preview will crash

elonzh commented 4 years ago

I think the author is inactive for this plugin, we are not worth to pay for this plugin.

thynson commented 3 years ago

same issue for me.

zhaihao commented 3 years ago

the new version works well