From d0aa9f3eef4f947b55ac2952da44e97e4416495f Mon Sep 17 00:00:00 2001 From: YOUNG HO CHA Date: Mon, 24 Jan 2022 00:42:11 +0900 Subject: [PATCH] Clean up comments of IDEA ettings with editorconfig Most of comments are tautologies of Option #4 --- README.md | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index eec3d891b6..2e67349f0e 100644 --- a/README.md +++ b/README.md @@ -414,40 +414,27 @@ Add the following .editorconfig properties on project ```ini [{*.kt,*.kts}] - -## `Set from...` on the right -> (`Predefined style`) -> `Kotlin style guide` (Kotlin plugin 1.2.20+). ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL -## open `Code Generation` tab -# uncheck `Line comment at first column`; ij_kotlin_line_comment_at_first_column = false -# select `Add a space at comment start` ij_kotlin_line_comment_add_space = true -## open `Imports tab` -# select `Use single name import` (all of them); +# These options can keep to use single name import ij_kotlin_name_count_to_use_star_import = 2147483647 ij_kotlin_name_count_to_use_star_import_for_members = 2147483647 -## open `Wrapping and Braces` tab -# change `Keep Maximum Blank Lines` / `In declarations` & `In code` to 1 ij_kotlin_keep_blank_lines_in_declarations = 1 ij_kotlin_keep_blank_lines_in_code = 1 -# and `Before '}'` to 0 ij_kotlin_keep_blank_lines_before_right_brace = 0 -## (optional but recommended) open `Wrapping and Braces` tab -# uncheck `Function declaration parameters` / `Align when multiline`. +# optional but recommended ij_kotlin_align_multiline_parameters = false -## (optional but recommended) open `Tabs and Indents` tab -# change `Continuation indent` to the same value as `Indent` (4 by default) +# optional but recommended ij_continuation_indent_size = 4 -## Android specific rules -# Other: Insert imports for nested classes -> false +# Android specific rules ij_kotlin_import_nested_classes = false -# Import Layout: import all other imports, then import all alias imports ij_kotlin_imports_layout = *,^ ```