Troubleshooting
This section describes configuration options that can help you diagnose common issues and address performance problems.
If you encounter a problem while working with the extension, contact the Java and Kotlin by IntelliJ IDEA support team.
Configure extension settings
Open extension settings
Open the Command Palette (Ctrl+Shift+P) and run Preferences: Open Settings (UI).
In the settings search field, enter
@ext:JetBrains.intellij-server.
If you run a language server locally, you can connect the extension to it instead of using the bundled language server.
Connect to a local language server
Open the extension settings and search for
intellij.dev.serverPort.Enter the port of the locally running language server. To use the bundled language server instead, set the value to
-1.
View logs
Java and Kotlin by IntelliJ IDEA writes diagnostic information to the intellij-server.log file.
Locate the log file
From the main menu, select .
Select IntelliJ Language Server from the list of output channels.
During startup, Java and Kotlin by IntelliJ IDEA prints the full path to the log file, for example:
[Info] Log file: /Users/<USERNAME>/Library/Application Support/Code/User/workspaceStorage/<WORKSPACE_ID>/JetBrains.intellij/system/log/intellij-server.logWhen reporting an issue, include relevant log entries together with a description of the problem and steps to reproduce it.
Configure protocol tracing
Open the extension settings and search for
intellij.trace.server.Select
verboseto log all protocol messages between the editor and the language server. For the other tracing levels, refer to Protocol tracing.
Restart the language server
If you experience issues with Java and Kotlin by IntelliJ IDEA, such as missing code analysis, unresolved symbols, or other unexpected behavior, restarting the language server or clearing its caches may help resolve the issue.
In the Status Bar (bottom-right corner of the VS Code window), click or hover over the Java and Kotlin by IntelliJ IDEA status bar item.
Select one of the actions to restart the language server:
Restart Language Server
Clear Caches and Restart Language Server

If you selected Clear Caches and Restart Language Server, click Clear and Restart in the confirmation dialog.
Clear the index of an external language server
Stop the external language server.
Delete its index directory manually.
Configure JVM memory
The bundled language server has a maximum heap size of 2 GB by default. For large projects, increasing the heap size may improve indexing and analysis performance.
Navigate to (VS Code) or (Cursor).
In the Intellij: Additional Jvm Args setting, click Edit in settings.json.
Configure the maximum heap memory following the example:
{ "intellij.additionalJvmArgs": ["-Xmx4g"] }Save the file. In the notification that appears, click Restart Language Server to apply the changes.