Skip to content

Make the Web Browser (JCEF) plugin an optional dependency #3117

Open

Description

@finalfantasia

Hi Colin! Thanks for clarifying this on Clojurians Slack.

I noticed that Cursive has a required dependency on IntelliJ IDEA's Web Browser (JCEF) plugin. Disabling JCEF causes IntelliJ IDEA to also disable Cursive.

As you explained, Cursive uses JCEF to display HTML results from inline REPL evaluations in the editor. For those of us who use the REPL tool window exclusively, that functionality isn't needed, so it'd be nice to be able to disable JCEF without losing Cursive.

Would it be possible to make JCEF an optional dependency, and gracefully handle its absence (for example, by showing a warning when someone tries to display an inline HTML result)?

That would let users trim unused IDE functionality while preserving the current experience for everyone who uses inline HTML results.

Thanks for considering it, and for all your work on Cursive!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions