Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Android Studio's code style settings in Git #3672

Merged
merged 3 commits into from
Jan 27, 2022
Merged

Include Android Studio's code style settings in Git #3672

merged 3 commits into from
Jan 27, 2022

Conversation

FloEdelmann
Copy link
Member

Cherry-picked from #3649.

This Android Studio code style conforms to the ktlint style, so auto-formatting in Android Studio fixes most ktlint issues.

It also prevents (new) wildcard imports.

@FloEdelmann FloEdelmann changed the title Specific editorconfig rules for Kotlin script files Include Android Studio's code style settings in Git Jan 24, 2022
@matkoniecz
Copy link
Member

It is a bit irritating to rely on very specific editor - but in practice we do it anyway.

Makes sense to do this to increase consistency of code and automate what can be automated without harm.

because StreetComplete doesn't use kotlin synthetic anymore
@westnordost westnordost merged commit d385f10 into streetcomplete:master Jan 27, 2022
@FloEdelmann FloEdelmann deleted the android-studio-code-style branch January 27, 2022 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants