diff options
author | Jordan Demeulenaere <jdemeulenaere@google.com> | 2022-10-18 09:42:32 +0200 |
---|---|---|
committer | Jordan Demeulenaere <jdemeulenaere@google.com> | 2022-10-18 09:53:24 +0200 |
commit | bdb0b8d3fa4d4442fde0d38193abda49271cdf61 (patch) | |
tree | a4e84436d2b6a72b6867191e7b90bc18e5cb05c5 /ktfmt.py | |
parent | 15ce9ec0ce87ce99edf30db6a4e3114884402266 (diff) | |
download | ktfmt-bdb0b8d3fa4d4442fde0d38193abda49271cdf61.tar.gz |
Add a note about the ktfmt plugin
Bug: 235461679
Test: Manual
Change-Id: Ibc337e4459d8db789f0b2102b71a8b2e1ed2589f
Diffstat (limited to 'ktfmt.py')
-rwxr-xr-x | ktfmt.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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() |