How to Kontribute
summary
Step-by-step checklist for contributing to the Kotlin plugin: reproduce the dev environment with JDK 1.6/1.7/1.8, Ant >=1.9.4, Gradle and IntelliJ IDEA 2017.3+ with “delegate IDE actions to Gradle” enabled; open module from build.gradle.kts. Use the PSI viewer to find AST nodes, implement an inspection class (example: remove redundant spread operator), register it in plugin.xml, add HTML description and generator-based test data (.kt/.after files), run the generated tests, then push a PR and post the GitHub PR URL to the YouTrack issue.
AI-written summary · about
chapters (29)
- 0:00Intro
- 1:16Question?
- 1:42Goal
- 2:55Outline
- 4:13Setup - JDK - doc
- 4:23Setup - JDK - I did
- 4:46Setup - Ant
- 5:25Setup - DL Dependencies
- 6:15Setup - IDE & plugins
- 8:11Setup - Module
- 10:51Setup - Summary
- 11:33Communication - slack
- 12:21Communication - YouTrack
- 13:40Communication - GitHub
- 15:29Are you ready?
- 16:09Remove redundant spread op
- 17:51PSI Viewer
- 19:44Create Inspection file
- 19:59PsiElementVisitor
- 24:09Implement Inspection
- 24:36Add description
- 25:39Creating Coffee
- 26:00Creating Tests
- 26:25Add test data
- 26:55Generate + Run Tests
- 31:20Test data options
- 32:04Send Pull Request!
- 38:19In Japan
- 38:57Intention/Inspection/Quickfix
related talks
44mExperimenting with the Kotlin Compiler
32mWriting IntelliJ Plugins for Kotlin
22mIntegrating Kotlin Code into the Gradle Build Process
38mKSP and Plugins. Optimizing Kotlin Multiplatform common code
46mHow we’re improving performance of IntelliJ IDEA Kotlin plugin
36mWriting a Kotlin Compiler Plugin
16mContributing to Kotlin
43mWriting Your First Kotlin Compiler Plugin
