-
Notifications
You must be signed in to change notification settings - Fork 103
Comparing changes
Open a pull request
base repository: facebook/ktfmt
base: v0.37
head repository: facebook/ktfmt
compare: v0.39
- 14 commits
- 13 files changed
- 5 contributors
Commits on May 4, 2022
-
Differential Revision: D36123500 fbshipit-source-id: df1032523e6645646cd70e3e23e9c8e3e4e80560
Configuration menu - View commit details
-
Copy full SHA for 687b6f7 - Browse repository at this point
Copy the full SHA 687b6f7View commit details
Commits on May 6, 2022
-
Handle lambda destructuring declarations with explicit type
Summary: Fixes #317 Reviewed By: hick209 Differential Revision: D36188965 fbshipit-source-id: 744b503691fea24eb857218786a1191a2f16f4ce
Configuration menu - View commit details
-
Copy full SHA for b7ff8ba - Browse repository at this point
Copy the full SHA b7ff8baView commit details -
Disabling grouping of fields after the first group in qualified expre…
…ssions Summary: This addresses the request to not try and pack fields in a qualified expression after the first grouping. Reviewed By: hick209 Differential Revision: D36202571 fbshipit-source-id: 4e342ce1917a9a7a3d3fcdb229b613752d02b941
Configuration menu - View commit details
-
Copy full SHA for 63eef56 - Browse repository at this point
Copy the full SHA 63eef56View commit details
Commits on May 8, 2022
-
Update ktfmt component on FBS:master
Reviewed By: strulovich Differential Revision: D36123426 fbshipit-source-id: 32cb667623564a38def123d20b88179bffe20cdb
Configuration menu - View commit details
-
Copy full SHA for bd2e5c7 - Browse repository at this point
Copy the full SHA bd2e5c7View commit details
Commits on May 26, 2022
-
Add line breaks to lambdas after broken function arguments
Summary: We've had some requests to format this: ``` foo.bar( trailingComma, ) { x = 0 } ``` As this: ``` foo.bar( trailingComma, ) { x = 0 } ``` Here I do that by keeping track of when we enter lambda arguments in call elements and noting if there's a trailing comma. ## Caveat **Google-style requires a trailing comma** The Google-style formatting puts the closing paren on the next line, even when there's no trailing comma. Due to this we can't detect that we need to put a break in the lambda. This could be fixed by detecting if the params broke (instead of looking for a trailing comma) but I'm not sure how to do that. Reviewed By: strulovich Differential Revision: D36649191 fbshipit-source-id: 2c8d316f068c1030437af59b5114ffae9d5d2aa8Configuration menu - View commit details
-
Copy full SHA for c0e6243 - Browse repository at this point
Copy the full SHA c0e6243View commit details
Commits on May 31, 2022
-
Fix breaking before is keyword causing illegal code
Summary: This should resolve #315 Tried to avoid changing code in too many places by looking at the parent. Reviewed By: davidtorosyan Differential Revision: D36783125 fbshipit-source-id: 54fcbdc7372f9147925b2746aa73e61fc06346d3
1Configuration menu - View commit details
-
Copy full SHA for 24e6942 - Browse repository at this point
Copy the full SHA 24e6942View commit details
Commits on Jun 7, 2022
-
For --google_style, break between ( and long condition expressions (#325
Configuration menu - View commit details
-
Copy full SHA for 44bf14c - Browse repository at this point
Copy the full SHA 44bf14cView commit details
Commits on Jun 8, 2022
-
Differential Revision: D36805239 fbshipit-source-id: 39a798e290c85a8092cf6a70360d31216c97f20b
Configuration menu - View commit details
-
Copy full SHA for 9bfe60c - Browse repository at this point
Copy the full SHA 9bfe60cView commit details -
Differential Revision: D36805238 fbshipit-source-id: 0f815d63df3e90dc3715d7b3b0832eca0b882542
Configuration menu - View commit details
-
Copy full SHA for e40bc15 - Browse repository at this point
Copy the full SHA e40bc15View commit details -
Summary: This was crashing in JavaInput, so let's just remove it and add it back at the end. Reviewed By: cortinico Differential Revision: D36987246 fbshipit-source-id: e404d213d9ba5a916caaa63cba850066d1d77436
Configuration menu - View commit details
-
Copy full SHA for d71487b - Browse repository at this point
Copy the full SHA d71487bView commit details
Commits on Jun 9, 2022
-
Prevent adjacent unary operators from merging (#328)
Summary: Pull Request resolved: #328 Reviewed By: strulovich Differential Revision: D37003050 Pulled By: cgrushko fbshipit-source-id: 010cd6a400d88aed8e253718658ec93464dd0b5f
Configuration menu - View commit details
-
Copy full SHA for 4a0c2d4 - Browse repository at this point
Copy the full SHA 4a0c2d4View commit details -
Summary: I'm extending ktfmt setup to run on kotlin script files as well. Changelog: [Internal] [Changed] - Reformat .kts files with ktfmt skip-linter-coverage-verification Reviewed By: zertosh Differential Revision: D36967010 fbshipit-source-id: a83f3facbb5f30b935b69fc70a5588e4da5996b2
Configuration menu - View commit details
-
Copy full SHA for 0b5d3d1 - Browse repository at this point
Copy the full SHA 0b5d3d1View commit details -
Handle escaped markdown characters in KDoc
Summary: We never encountered that until now, so all it required was handling this case as well. Fixes #329 Reviewed By: cgrushko Differential Revision: D37038044 fbshipit-source-id: 21d89dc7186f6e46369980d94a97da8548a0f793
Configuration menu - View commit details
-
Copy full SHA for 5f7b063 - Browse repository at this point
Copy the full SHA 5f7b063View commit details
Commits on Jun 15, 2022
-
Differential Revision: D37169627 fbshipit-source-id: adc1a9ad44105787470e88ff6942f5f2a84cb4c3
Configuration menu - View commit details
-
Copy full SHA for ea81882 - Browse repository at this point
Copy the full SHA ea81882View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.37...v0.39