Kotlin / Kotlin/ktfmt

Sort modifiers based on Kotlin conventions

Open
#293 2 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue
Dominant language
Kotlin
Stars
1.3k
Forks
116
Avg merge
4d 10h
Merged PRs (30d)
15

Description

When modifiers aren't in a specific order, the linter suggests to be sorted, ktfmt could sort them.

Contributor guide

Open the contributing guide

Research direction

Start with the Kotlin modifier-ordering conventions referenced in the issue, then trace the ktfmt formatting path for modifier lists. Use representative unsorted declarations to define expected output and verify the formatter applies the convention consistently; done means modifiers are reordered automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.