IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Code Style Kotlin

Last modified: 25 March 2021

File | Settings | Editor | Code Style | Kotlin for Windows and Linux

IntelliJ IDEA | Preferences | Editor | Code Style | Kotlin for macOS

Ctrl+Alt+S the Settings/Preferences icon

Use this page to configure formatting options for Kotlin files. When you change these settings, the Preview pane shows how this will affect your code.

Tabs and Indents

Language and Framework-Specific Guidelines