aboutsummaryrefslogtreecommitdiff
path: root/ktfmt.py
diff options
context:
space:
mode:
authorJordan Demeulenaere <jdemeulenaere@google.com>2022-10-18 09:42:32 +0200
committerJordan Demeulenaere <jdemeulenaere@google.com>2022-10-18 09:53:24 +0200
commitbdb0b8d3fa4d4442fde0d38193abda49271cdf61 (patch)
treea4e84436d2b6a72b6867191e7b90bc18e5cb05c5 /ktfmt.py
parent15ce9ec0ce87ce99edf30db6a4e3114884402266 (diff)
downloadktfmt-bdb0b8d3fa4d4442fde0d38193abda49271cdf61.tar.gz
Add a note about the ktfmt plugin
Bug: 235461679 Test: Manual Change-Id: Ibc337e4459d8db789f0b2102b71a8b2e1ed2589f
Diffstat (limited to 'ktfmt.py')
-rwxr-xr-xktfmt.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ktfmt.py b/ktfmt.py
index 88a8002..3d337bb 100755
--- a/ktfmt.py
+++ b/ktfmt.py
@@ -108,8 +108,9 @@ def main():
'**********************************************************************'
)
print(
- 'Some Kotlin files are not properly formatted. Run the following command to format them:\n\n'
- )
+ 'Some Kotlin files are not properly formatted. Run the command below to format them.\n'
+ 'Note: If you are using the Android Studio ktfmt plugin, make sure to select the '
+ 'Kotlinlang style in \'Editor > ktfmt Settings\'.\n')
script_path = os.path.normpath(__file__)
incorrect_files = [
os.path.abspath(file) for file in stdout.decode('utf-8').splitlines()