Skip to content

Explicit Kotlin import layout#571

Closed
vRallev wants to merge 1 commit intofacebook:mainfrom
vRallev:ralf/import-layout
Closed

Explicit Kotlin import layout#571
vRallev wants to merge 1 commit intofacebook:mainfrom
vRallev:ralf/import-layout

Conversation

@vRallev
Copy link
Copy Markdown
Contributor

@vRallev vRallev commented Nov 19, 2025

Specify an explicit import layout instead of relying on the Kotlin Official default. The Kotlin Official style uses ij_kotlin_imports_layout = *,java.**,javax.**,kotlin.**,^. The new explicit import layout changes it to how ktfmt formats code.

.editorconfig-kotlinlang has already applied the same setting.

@meta-cla
Copy link
Copy Markdown

meta-cla bot commented Nov 19, 2025

Hi @vRallev!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@meta-cla
Copy link
Copy Markdown

meta-cla bot commented Nov 19, 2025

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 19, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Dec 10, 2025

@hick209 has imported this pull request. If you are a Meta employee, you can view this in D88870307.

@hick209
Copy link
Copy Markdown
Contributor

hick209 commented Dec 10, 2025

Thanks for contributing! If you don't mind (or I don't do it first) would you mind updating CHANGELOG.md?

Specify an explicit import layout instead of relying on the Kotlin Official default. The Kotlin Official style uses `ij_kotlin_imports_layout = *,java.**,javax.**,kotlin.**,^`. The new explicit import layout changes it to how ktfmt formats code.

`.editorconfig-kotlinlang` has already applied the same setting.
@vRallev
Copy link
Copy Markdown
Contributor Author

vRallev commented Dec 10, 2025

Thanks for contributing! If you don't mind (or I don't do it first) would you mind updating CHANGELOG.md?

I updated the CHANGELOG.

Copy link
Copy Markdown
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Dec 10, 2025

@hick209 merged this pull request in 3dc2eed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants