Skip to content
New issue

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

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

Already on GitHub? # to your account

Add configuration for using a formatting script in the idea-plugin #42

Merged
merged 4 commits into from
Feb 9, 2025

Conversation

mmollaverdi
Copy link
Collaborator

No description provided.

README.md Outdated
```properties
kotlin-formatter.enabled=true
kotlin-formatter.script-path=bin/kotlin-format
```
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you for updating the README.md!

Can we add these 2 points as well?

  1. Changes to these config required a restart
  2. Instruction on how to enable format on save

Open "Settings" > "Tools | Actions on Save", enable the "Reformat code" option, and ensure that the "Kotlin" file type is selected. (Please make sure "Optimize imports" is NOT selected for "Kotlin" file type.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

mmollaverdi and others added 2 commits February 10, 2025 10:02
…matConfigurationService.kt

Co-authored-by: Sutina Wipawiwat <swipawiwat@squareup.com>
@mmollaverdi mmollaverdi enabled auto-merge February 9, 2025 23:13
@mmollaverdi mmollaverdi merged commit 79637d3 into main Feb 9, 2025
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants