k

kdoc-formatter-ide-plugin

JetBrains

96e93091-85a1-46d0-bde8-9e9d9c755d05 · v—

This plugin lets you reformat KDoc text -- meaning that it will reformat the text and flow the text up to the line width, collapsing comments that fit on a single line, indenting text within a block tag, etc. By default, it integrates into the IDE's formatting action, so you can invoke the formatter (e.g. Code | Reformat Code) and the comments will be handled by this plugin. There's a Settings panel which lets you configure the formatter to decide whether you want it to reorde

Code EditingFormatting
Open in store ↗ id: 15734
Downloads
15K
15 237
Rating
4.1 ★
4 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 4 ratings
5★ 100.0%

Reviews 2

★★★★★ Bennett Lynch 2022-07-19

Great plugin, thank you! Could you please add an option to specify the line length in the preferences?

★★★★★ Lukas Potthast 2021-04-10

Works perfectly and makes your life really easy! Using an .editorconfig with an explicit [*.kt] max_line_length = 120 helped me a lot. Until then, the formatter always used its default max line length.

Similar in “Code Editing”