-
Notifications
You must be signed in to change notification settings - Fork 165
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 support for apply-to-idea-project formating command #91
Comments
Oooooh. I really like this idea. @Tapchicoma What do you think? |
I don't have strong opinion on it, but I don't think that adding some generic task that will passes parameters to ktlint is a good idea. Then better to use ktlint directly. Regarding the |
You are right, this makes perfect sense |
Thanks for implementing this 👍 |
Reopening this as implementation is slightly wrong: pinterest/ktlint#178 I am thinking of introducing second task |
I added a plugin to the project.
Now every developer in the team must manually run this ktlint command
./ktlint --apply-to-idea-project --android
This is fine, but I wonder can it be achieved without separatley downloading (and keeping) ktlint binaries? I would be nice to provide ability to configure IDE out of the box.
hmm Maybe plugin could somehow link
./ktlint
command to project root or add new gradle task that would allow passing parameters to ktlint script./gradlew ktlint
🤔(we could, of course, add new grade task but I feel this would not be flexible enough if new ktlint parameters will be added in future)
The text was updated successfully, but these errors were encountered: