idea-multimarkdown
idea-multimarkdown copied to clipboard
Consider migrating to JCEF for the preview
Hello,
Starting with version 2020.2 of the IDE, JavaFX is no longer bundled with the default JetBrains Runtime. As an alternative to these APIs, there's now integration with JCEF, which is a Java port of the CEF framework for embedding Chromium-based browsers in applications using Swing.
The IntelliJ team belives that JCEF will provide better stability and performance compared to JavaFX.
In IJ 2020.2 you can only use the default Swing preview in the Markdown Navigator plugin.
Adding the JavaFX Runtime for Plugins plugin and switching to the JavaFX preview, unfortunately, results in the IDE crash (it's probably related to the use of a newer, 11th version of JavaFX in the plugin).
@vsch Hey Vlad, could you point me to the basic Github CSS that would work with the Spring preview? I was using the one with this comments on top, but now it looks quite messy and I have no idea how to get the right classes to edit.
github.com style (c) Vasily Polovnyov [email protected] modified for idea darcula (c) Vladimir Schneider [email protected]
It seems that the latest versions use JCEF already. However, for me the integration with Markdown Navigator is highly buggy.
There are multiple issues (for me)
- orphan JCEP helper processes (in system task manager) that consumes lots of cpu time.
- very slow and laggy preview (which is not due to the renderer because the JB plugin is blazingly fast here)
- can't copy RTF from preview anymore
- preview often dies and does not update anymore (editor close & reopen needed)
- Almost impossible to edit complex documents (with multiple images and a few hundred words) because it lags constantly and the editor almost freezes.
UX isso poor with JCEF preview being enabled for MN, that I had to switch back to JB Markdown plugin after several years of fun with MN. :-(
I'm happy to assist tracking down these issues. Alternatively, it would be great if the old preview could be brought back.
orphan JCEP helper processes (in system task manager) that consumes lots of cpu time.
I am also encountering the issue of high CPU load due to jcef_helper
in 3.0.202.112
with IU-203.5981.155
.
Also seeing high CPU usage
IntelliJ IDEA 2021.1.1 (Ultimate Edition)
Build #IU-211.7142.45, built on April 30, 2021
com.vladsch.idea.multimarkdown (3.0.202.112)
orphan JCEP helper processes (in system task manager) that consumes lots of cpu time.
I see that a lot... monitoring it and killing the process became a very distracting burden
orphan JCEP helper processes (in system task manager) that consumes lots of cpu time.
I see that a lot... monitoring it and killing the process became a very distracting burden
Same here!
Seeing high CPU in Activity Monitor for the JCEF helper too.
This issue has been opened more than 1 year, any plan to fix it? The orphan JCEF processes often appeared and caused 100% CPU usage.
The plugin is not supported anymore by its developer: https://github.com/vsch/idea-multimarkdown/issues/918 You need to use the Jetbrains markdown plugin