Files
openide/plugins/kotlin
Maria Sokolova 00e0424650 [debugger] Fix attach of coroutine debug agent to Gradle projects.
See the regression commit: f1fe2739

Added a gradle project test for coroutines debug agent attach

IDEA-377062
IDEA-278577

Merge-request: IJ-MR-171772
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>

(cherry picked from commit d88438881fc613dd6be278bddb1112f802b6bfaf)


(cherry picked from commit 0c9a1d7c5811578ec589aa05b1215d378a33c446)

IJ-CR-172265

GitOrigin-RevId: 8632118aa3b0a9e0da586e1712d00bf9faab655e
2025-08-13 17:47:56 +00:00
..

Kotlin plugin official JetBrains project

Kotlin plugin is an IntelliJ IDEA plugin for the Kotlin programming language.

Contents

  1. Set up instructions
  2. Frequently Asked Questions

1. Set up instructions

1.1. Requirements

1.2. Clone required repository

Clone the intellij-community repository:

git clone https://github.com/JetBrains/intellij-community.git

1.3. Follow IntelliJ set up instructions

Follow the set up instructions in IntelliJ Community.

⚠️ You need to set up multiple JDKs and possibly attach tools.jar from the JDK distribution to some of them.
⚠️ Set a higher value for build process heap memory size. Use the "Build process heap size (MBytes)" text field instead of more generic "VM options" (shared or user-local). 3000 or 4000 megabytes should work well.
⚠️ Check the "Compile independent modules in parallel" option, or the project will take ages to build.

1.4. Build the project

Now you should be able to open and build the project.

Use the provided IDEA build configuration to run an IntelliJ IDEA instance with your modifications to the Kotlin plugin.

2. Commits Requirements

We strive for transparency of changes. Therefore, all meaningful commits should reference a KTIJ, IJPL or IDEA issue in their message. It is permissible not to follow this rule if a change relates to tests, it is a minor refactoring or code formatting.

3. Frequently Asked Questions

Q. How can I contribute to the Kotlin IDEA plugin? A. We accept Pull Requests. Please read our contribution guide for more information.

Q. Kotlin IDEA plugin sources are used to be inside the JetBrains/kotlin repository. What happened?
A. We decided to split release cycles for the Kotlin compiler and the IDEA plugin. Now, the majority of new features will arrive together with updates of IntelliJ IDEA.

Q. But the plugin sources are still in JetBrains/kotlin.
A. Code transition is in progress. We will delete the IDE plugin sources from the old repository when we decide it is a good time to do so.

Q. What will happen with Pull Requests submitted to the JetBrains/kotlin repository?
A. We will process all existing PRs and replicate commits in the new repository. However, all new PRs to the Kotlin IDEA plugin code should be done only in this repository.

3. License

Kotlin is distributed under the terms of the Apache License (Version 2.0). See license folder for details.