continue
continue copied to clipboard
Autocomplete Freezing and Locking Up the IDE
Below is an AI generated summary of the following related issues:
- https://github.com/continuedev/continue/issues/5213
- https://github.com/continuedev/continue/issues/4845
- https://github.com/continuedev/continue/issues/4376
- https://github.com/continuedev/continue/issues/3709
- https://discord.com/channels/1108621136150929458/1367755318670528575
- https://github.com/continuedev/continue/issues/5774
- https://github.com/continuedev/continue/issues/4130
Summary of JetBrains IDE Freezing
Root Cause:
The primary root cause appears to be related to the autocomplete functionality in the JetBrains plugin, leading to the IDE freezing or becoming unresponsive. This is often (but not always) accompanied by high CPU usage from the continue-binary process. A secondary, possibly related, issue involves errors during the indexing/embedding process, specifically "Table already exists" errors with LanceDB.
Affected Versions & IDEs:
- Continue Plugin Versions: Issues have been reported across various versions, including
0.0.75,0.0.83,0.0.85,0.0.88,1.0.2,1.0.8,1.0.17, and1.0.18(0.0.75 appears to be the last version that definitely does not experience the issue) - JetBrains IDEs: IntelliJ IDEA, WebStorm, CLion, Rider, RustRover.
- IDE Versions: Primarily 2024.x versions (e.g., 2024.3, 2025.1 EAP).
- Operating Systems: Windows (10, 11), macOS, Linux.
Note: IDEA 2025.1 in particular has freezing issues across a number of plugins. See this issue for details.
Symptoms & User Reports:
-
IDE Freezing/Hanging:
- The most common complaint is the IDE becoming completely unresponsive, often when typing or when autocomplete is triggered.
- Users often need to kill the IDE process via Task Manager or similar.
- Freezing can occur within minutes of starting the IDE or after a period of normal use.
- Some users report freezing even with the tab autocomplete feature disabled in settings.
-
High CPU Usage:
- The
continue-binaryprocess is frequently reported to consume high CPU (50-300%, sometimes pinning a core at 100%). - However, some users experience freezes without high CPU usage from
continue-binary.
- The
-
Autocomplete Issues:
- Autocomplete suggestions stop appearing.
- IDE freezes when IntelliJ's native suggestions try to pop up.
- Stack traces often point to
AutocompleteServiceand related classes. - Disabling tab autocomplete in
config.jsonor via IDE settings is a common workaround, but doesn't always resolve the freezing for everyone. - Removing keyboard shortcuts related to "Autocomplete" in JetBrains keymap settings has helped some users.
-
Indexing/Embedding Errors:
- Error messages like:
Error: Table 'fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500' already exists. - Re-indexing shows files being re-indexed but doesn't resolve the underlying problem or improve context quality.
- Context only injects a single, incorrect file.
- Skipping files (e.g.,
.drawio) during indexing due to "did not chunk properly".
- Error messages like:
-
Interaction with Other Plugins/Features:
- One user noted a potential conflict or interaction with
com.intellij.codeWithMe(Code With Me feature). Disabling it delayed but didn't always prevent crashes. - Disabling other plugins (like "Grazie" and "Grazie Professional" or "JetBrains AI Assistant") was suggested as a potential fix for some users in one thread, but its general applicability is unclear.
- One user noted a potential conflict or interaction with
Steps Users Have Taken (Workarounds & Troubleshooting):
- Disabling Autocomplete:
- Commenting out or removing the
tabAutocompleteModelsection inconfig.json. - Unchecking "Enable Tab Autocomplete" in the Continue plugin settings within the IDE.
- Removing Continue-related autocomplete keyboard shortcuts in IDE settings.
- Commenting out or removing the
- Downgrading Plugin Version:
- Some users found older versions like
0.0.75to be more stable, although potentially lacking features like copy-paste from the plugin window.
- Some users found older versions like
- Clearing Index / Resetting Continue:
- Deleting the
~/.continue(or~/.continue_dev) folder to force a fresh start and re-indexing. This was suggested by a maintainer for indexing-specific errors.
- Deleting the
- Restarting IDE / Reinstalling Plugin:
- Temporary relief for some, but the issue often returns.
- Killing
continue-binaryProcess:- Some users found that manually killing the high-CPU
continue-binaryprocess temporarily resolved the freeze, allowing the IDE to function again. For others, this did not help.
- Some users found that manually killing the high-CPU
- Checking Ollama/Model Configuration:
- Ensuring that models specified in
config.json(especially for autocomplete) are actually installed and accessible if using local models via Ollama.
- Ensuring that models specified in
Maintainer Actions & Responses:
- PR #3726 was intended to fix a blocking issue on the EDT in JetBrains related to autocomplete latency improvements. Released in
0.0.86. - PR #5600 was also mentioned as a potential fix for freezing issues. However, users reported freezing persisted even with
1.0.17and1.0.18.
Recommendations for Users (Temporary Resolutions):
- Disable Autocomplete (Most Effective Workaround):
- Go to your IDE's Continue plugin settings and uncheck "Enable Tab Autocomplete".
- Clear Index Folder (for "Table already exists" or context issues):
- Close your IDE.
- Delete the
~/.continue/indexfolder (or~/.continue_dev/index). - Restart your IDE. The index will be rebuilt.
- Try an Older Version (e.g., 0.0.75):
- If stability is paramount and current versions are unusable, consider manually installing an older version from the JetBrains marketplace version history. Be aware that you might lose recent features or bug fixes.
- Monitor
continue-binaryProcess:- If your IDE freezes, check your system's task manager for a
continue-binaryprocess with high CPU usage. If found, try terminating it. This may unfreeze the IDE, but the issue will likely recur.
- If your IDE freezes, check your system's task manager for a
- Ensure Local Model Availability: If using Ollama or another local provider for autocomplete, double-check that the model specified in
config.jsonis downloaded and running correctly. - Report Issues with Details: If you continue to experience problems, report them on the GitHub issues page, providing:
- Your Continue plugin version.
- Your JetBrains IDE and version.
- Your Operating System.
- Your
config.json(please redact any sensitive keys). - Relevant logs from
~/.continue/continue.log. - Steps to reproduce the freeze if possible.
- Any IDE thread dumps if the IDE generates them upon freezing.