Java and Kotlin by IntelliJ IDEA Help

Troubleshooting

This section describes configuration options that can help you diagnose common issues and address performance problems.

Configure extension settings

Open extension settings

  1. Open the Command Palette (Ctrl+Shift+P) and run Preferences: Open Settings (UI).

  2. 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

  1. Open the extension settings and search for intellij.dev.serverPort.

  2. 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

  1. From the main menu, select View | Output.

  2. 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.log
  3. When reporting an issue, include relevant log entries together with a description of the problem and steps to reproduce it.

Configure protocol tracing

  1. Open the extension settings and search for intellij.trace.server.

  2. Select verbose to 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.

  1. 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.

  2. Select one of the actions to restart the language server:

    • Restart Language Server

    • Clear Caches and Restart Language Server

    IntelliJ status bar popup
                with options to Restart Language Server or Clear Caches and Restart Language Server
  3. 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

  1. Stop the external language server.

  2. 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.

  1. Navigate to Settings | Extensions | Java and Kotlin by IntelliJ IDEA (VS Code) or VS Code Settings | Extensions | Java and Kotlin by IntelliJ IDEA (Cursor).

  2. In the Intellij: Additional Jvm Args setting, click Edit in settings.json.

  3. Configure the maximum heap memory following the example:

    { "intellij.additionalJvmArgs": ["-Xmx4g"] }
  4. Save the file. In the notification that appears, click Restart Language Server to apply the changes.

24 November 2026