ktfmt icon indicating copy to clipboard operation
ktfmt copied to clipboard

Use --style=STYLE in CLI

Open grodin opened this issue 1 year ago • 7 comments

As discussed at https://github.com/facebook/ktfmt/issues/391#issuecomment-2108107493

To be landed on top of #477

grodin avatar Jun 13 '24 15:06 grodin

Once #477 is merged internally I'll rebase this, just wanted to get it up so it can be reviewed

grodin avatar Jun 13 '24 15:06 grodin

Looks like you have to update the tests in order to make it all compile https://github.com/facebook/ktfmt/blob/main/online_formatter/src/test/kotlin/HandlerTest.kt

And then the webpage to send in the right data now https://github.com/facebook/ktfmt/blob/main/website/index/index.js#L95

hick209 avatar Jun 14 '24 13:06 hick209

I keep forgetting about the enclosed gradle builds!

grodin avatar Jun 14 '24 14:06 grodin

@grodin are you still going to work on those?

hick209 avatar Aug 07 '24 20:08 hick209

I do plan to. It's a little hectic here with school summer holidays so I don't think I'll have a chance this week

grodin avatar Aug 12 '24 07:08 grodin

@grodin, would you mind if I take over and finish working on the final bits? Credit would still go to you though

hick209 avatar Aug 13 '24 13:08 hick209

No problem, feel free

grodin avatar Aug 13 '24 14:08 grodin