Troubleshooting
Fixing the Refact.ai Plugin in JetBrains IDEs without JCEF
Changing the JBR in JetBrains IDEs to Fix the Markdown Plugin
After installing the Refact.ai plugin in JetBrains IDEs, you may receive a notification indicating that the plugin is not functioning correctly.

To utilize chat functionality, JCEF - Java Chromium Embedded Framework - is required. JCEF is pre-bundled in the JDK (also referred to as JBR - JetBrains Runtime) with IntelliJ IDEA versions starting from 2020.2.
The solution is to bundle the IDE with a JBR that integrates JCEF.
Fortunately, the JBR can be modified, and JetBrains provides the JBRs for download. JetBrains also offers a guide to change JBR, although compatibility with all versions of the IDE may vary.
Choosing the Boot Java Runtime:
- Open the menu Help > Find Action… (
⇧ Shift+⌘ Cmd+A) and search for “Choose Boot Java Runtime for the IDE…” and execute it. - In the dialog, open the drop-down Select runtime.
Note: It is advisable to select the same JBR version that was originally set as default in the IDE.

- Either accept the default selection or choose one that includes JCEF in its title. Confirm your choice by clicking OK.

- After downloading and installing, you must apply the changes by selecting Restart now.

You are now ready to enjoy the complete Refact.ai experience.
Disabling the JCEF Sandbox
It is highly probable that you will encounter the following message after restarting the IDE:
To resolve this issue:
- Open the menu Help > Find Action… (
⇧ Shift+⌘ Cmd+A) and search for “Registry…” and execute it. - Locate the key
ide.browser.jcef.sandbox.enableby typing the initial letters or scrolling through the list. - Disable this key.

- Close the Registry Editor.
- Restart the IDE.
JetBrains 2025.* Platform Issues
JCEF Out-of-Process Mode Bug (IJPL-186252)
If you’re experiencing issues with JetBrains IDEs version 2025.*, you may encounter freezes related to the JCEF (Java Chromium Embedded Framework) out-of-process mode. This is a known issue tracked as IJPL-186252.
To resolve this issue, add the following VM option to your IntelliJ IDEA configuration:
-Dide.browser.jcef.out-of-process.enabled=falseThis option reverts the IDE to use the in-process JCEF mode, which bypasses the bug.
How to Apply the VM Option
- Open your JetBrains IDE
- Go to Help > Edit Custom VM Options…
- Add the line
-Dide.browser.jcef.out-of-process.enabled=false - Save the file and restart the IDE
Long-term Solution
Keep your JetBrains IDE updated to the latest patch release of version 2025.1.x or newer. Future updates are expected to include a permanent fix for IJPL-186252, which will eliminate the need for this manual workaround.