shuzijun / leetcode-editor

Do Leetcode exercises in IDE, support leetcode.com and leetcode-cn.com, to meet the basic needs of doing exercises.Support theoretically: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
https://plugins.jetbrains.com/plugin/12132-leetcode-editor
Apache License 2.0
3.76k stars 403 forks source link

Not Support JCEF #440

Open shuzijun opened 2 years ago

shuzijun commented 2 years ago
  1. The IDE version supported by the plugin supports JCEF by default. If there is no parameter modification, this problem will not occur. If this prompt appears, refer to the following two suggestions. (Exception for Android Studio).
  2. Possibility 1. JCEF is disabled through the registry, you can check to enable it through the following operation: "Help -> Find Action..", enter "ide.browser.jcef.enabled" in the input box.
  3. Possibility 2, replaces the default JDK running in the IDE. If there is no JCEF in other JDKs, you need to change to the default one. Refer to "Selecting the JDK version the IDE will run under" for the switching scheme.
shuzijun commented 2 years ago

1.插件限定的IDE版本默认支持JCEF,如果不修改参数,不会出现这个问题,出现此提示可以参考一下两条建议。(Android Studio除外) 2.可能性 1,通过注册表禁用了JCEF,可以通过以下操作勾选启用:“Help -> Find Action..”,在输入框中输入“ide.browser.jcef.enabled”。 3.可能性 2,替换了 IDE 中运行的默认 JDK,其他 JDK 中没有 JCEF,需要更改为IDE默认。恢复方案请参考"Selecting the JDK version the IDE will run under"

hjdudu commented 2 years ago

AndroidStudio 怎么处理呢

shuzijun commented 2 years ago

AndroidStudio 怎么处理呢

上面的内容里有AndroidStudio处理链接

hjdudu commented 2 years ago

看到那个了 但是没账号下载不了 也没找到注册入口 有教程吗 谢谢

shuzijun commented 2 years ago

看到那个了 但是没账号下载不了 也没找到注册入口 有教程吗 谢谢

已更新文档,可以通过https://github.com/JetBrains/JetBrainsRuntime 下载

hjdudu commented 2 years ago

好的 非常感谢

AliangYsl commented 1 week ago

环境如下: IDEA 版本:IntelliJ IDEA 2024.3 (Ultimate Edition) 系统:macOS Sequoia 15.1.1 插件版本:8.14

遇到的问题如图,提示当前环境不支持 JCEF。

image

排查处理过程如下:

  1. JCEF 默认就是开启的,没有动过

    image
  2. 默认 JDK原本没有替换过,不行;现在替换过好几个其他的 with JCEF 的,都不行image

帮忙看看会是什么原因,如何解决呢🙏🏻