aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/java/com/facebook/ktfmt
AgeCommit message (Expand)Author
2023-02-02Fix indentation of initializer-like expressions with leading comments (#382)nickreid
2023-02-01Create FenceCommentsOp and use it to simplify some confusing comment handling...nickreid
2023-01-26Eliminate mis-paired OpsBuilder.open()/close() (#379)Nick Reid
2023-01-26De-inline OpsBuilder.block() (#378)Nick Reid
2023-01-21Miscellaneous fixes to the KDoc formatter (#372)Tor Norbye
2022-12-16Support disabling import optimization from command lineOmer Strulovich
2022-12-12Daily `arc lint --take KTFMT`generatedunixname89002005325672
2022-11-22Avoid early break at TODO:David Torosyan
2022-11-17Rename upper to endPositionSalvatore Benedetto
2022-11-17Use map for converting a collectionSalvatore Benedetto
2022-11-17Remove unnecessary importSalvatore Benedetto
2022-11-17Factor out code into a functionSalvatore Benedetto
2022-11-17Drop I from column variable nameSalvatore Benedetto
2022-11-14Fix import detection for multiline kdocsDavid Torosyan
2022-10-20Merge tnorbye/kdoc-formatter into ktfmt (#359)nickreid
2022-10-19Preserve indentation of trailing comments in comma-separated lists (#357)nickreid
2022-09-21Fix some regressions in preparation for 0.41 (#352)nickreid
2022-09-20Only pretty-print each file one time (#345)nickreid
2022-09-08Force-break an indent qualified expression rooted on multiline strings (#343)nickreid
2022-09-07Fix unneeded break following long multiline string (google style) (#348)David Torosyan
2022-07-28Don't break before '>' in type argumentsDavid Torosyan
2022-07-26Fix some spacing issues with comma separated lists in --google-style (#344)nickreid
2022-07-24Add --stdin-name to specify a file name to use when printing message about st...nickreid
2022-07-21Fix crashes on intersection types (e.g. Foo<A & B>) (#341)nickreid
2022-07-11When there's a break in value arguments, also break in the lambda bodyDavid Torosyan
2022-07-11Improve lambda indentation when value arguments are on multiple linesDavid Torosyan
2022-07-11When there's a break in type arguments, also break in value argumentsDavid Torosyan
2022-07-11Break before '>' in type arguments when they don't fit on one lineDavid Torosyan
2022-07-11Simplify visitCallElement, move bracket logic into helperDavid Torosyan
2022-07-11Simplify visitTypeArgumentList, move bracket logic into helperDavid Torosyan
2022-06-30Simplify visitValueArgumentList, unite two logic branchesDavid Torosyan
2022-06-30Delete emitParameterLikeList in favor of visitEachCommaSeparatedDavid Torosyan
2022-06-30Simplify visitCallElement, remove branch for google styleDavid Torosyan
2022-06-30Simplify visitEachCommaSeparated, unite two logic branchesDavid Torosyan
2022-06-30Refactor forEachCommaSeparated to visitEachCommaSeparartedDavid Torosyan
2022-06-09Handle escaped markdown characters in KDocOmer Strulovich
2022-06-08Prevent adjacent unary operators from merging (#328)nickreid
2022-06-08Support shebang for KTS filesOmer Strulovich
2022-06-07For --google_style, break between ( and long condition expressions (#325)nickreid
2022-05-31Fix breaking before is keyword causing illegal codeOmer Strulovich
2022-05-26Add line breaks to lambdas after broken function argumentsDavid Torosyan
2022-05-08Update ktfmt component on FBS:masterCarmi Grushko
2022-05-06Disabling grouping of fields after the first group in qualified expressionsOmer Strulovich
2022-05-05Handle lambda destructuring declarations with explicit typeOmer Strulovich
2022-05-02Break after annotations iff it is a block-level expression (#302)nickreid
2022-04-25@allow-large-files [MSDK] Update ktfmt component on FBS:masterCarmi Grushko
2022-04-21Always break between when conditions, even if they fit in lineOmer Strulovich
2022-04-14Fix a bunch of build warnings (#283)Nick Reid
2022-04-13Do not try to make block like syntax for expression with more than 1 lambdaOmer Strulovich
2022-04-13Add trailing break before brace for Google Style (#308)Beth Cutler