ShyykoSerhiy / gfm-plugin

Github flavored markdown plugin for intellij idea.
https://plugins.jetbrains.com/plugin/7701
MIT License
88 stars 16 forks source link

JCEF - Java Chromium Embedded Framework #72

Open ghost opened 9 years ago

ghost commented 9 years ago

JCEF as enhancement

In terms of #32 I've found an interesting wrapper for the Chromium Embedded Framework (CEF) which has java bindings (JCEF).

Requirements evaluation

  1. CEF provides stable binaries and source for multi-platform (Windows, Linux, OS X)
  2. CEF renders SVGs, Images and CSS properly
  3. CEF is on average realy fast
  4. CEF is lightweight: binaries are 25MB per OS (maybe there is a pre-install option in PhpStorm which gives access to OS information. Then a binary can dynamically included which would shrink the size from ~75MB to ~25MB)
  5. JCEF should run with Java 6
  6. JCEF tracks the most recent versions of CEF (so it'll be up-to-date)

So, in my opinion the JCEF would be a real nice enhancement, in terms of performance aswell as application size and usability.

Note: I didn't worked with JCEF (only CEF in C++ which was realy easy, clean and fast) so I can't figure out if it interferes with your current solutions.

Would a JCEF plugin be useful ?

If integrating JCEF in your plugin would go beyond the scope of your time, may it be useful when I provide a JCEF PhpStorm plugin which can be used from others ?

I'm asking because I previously thought about integrating a web browser into PhpStorm (Intellj) to provide instant previews etc.

ShyykoSerhiy commented 9 years ago

JCEF looks really promising. I'll give it a try. Thx.

ShyykoSerhiy commented 9 years ago

Hi, I've found some issues with JCEF. Official repo on BitButcker states that "Binary distributions of JCEF require a 64-bit Oracle Java 7 VM running on Windows, Linux or Mac OS X. 32-bit builds are possible for Windows and Linux as described on the BranchesAndBuilding Wiki page but 32-bit builds are not officially supported and no 32-bit binary distributions are provided.". So we've got at least two problems here: