tree: 7b110842a34f20a5a2491c9ea6b02851200f3eb2 [path history] [tgz]
  1. analysis/
  2. analysis-api-providers-ide-impl/
  3. base/
  4. common/
  5. compiler-plugins/
  6. completion/
  7. copyright/
  8. core/
  9. coverage/
  10. docs/
  11. features-trainer/
  12. fir/
  13. fir-analysis-project-structure-ide-impl/
  14. fir-fe10-binding/
  15. fir-low-level-api-ide-impl/
  16. formatter/
  17. frontend-independent/
  18. generators/
  19. git/
  20. gradle/
  21. grazie/
  22. groovy/
  23. i18n/
  24. idea/
  25. injection/
  26. j2k/
  27. jps/
  28. junit/
  29. jvm/
  30. jvm-debugger/
  31. jvm-decompiler/
  32. jvm-run-configurations/
  33. kotlin-compiler-classpath/
  34. kotlin.all-tests/
  35. kotlin.fir-all-tests/
  36. license/
  37. line-indent-provider/
  38. live-templates/
  39. maven/
  40. ml-completion/
  41. native/
  42. performance-tests/
  43. plugin/
  44. project-model/
  45. project-tests/
  46. project-wizard/
  47. project-wizard-compose/
  48. properties/
  49. refIndex/
  50. repl/
  51. resources-fir/
  52. scripting/
  53. scripting-support/
  54. spellchecker/
  55. test-framework/
  56. testng/
  57. tests-common/
  58. tests-from-compiler/
  59. uast/
  60. util/
  61. .editorconfig
  62. CONTRIBUTING.md
  63. intellij.kotlin.idea.community.fir.main.iml
  64. intellij.kotlin.plugin.community.fir.main.iml
  65. intellij.kotlin.plugin.community.main.iml
  66. README.md
plugins/kotlin/README.md

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