浏览代码

code style: Disable autowrap while typing

Our .editorconfig indiscriminately applies max length of 120 to every single file (except yaml).
When coupled with this setting (autowrap), this results in the editor inserting line ends in files,
even when it breaks the syntax (such as bash scripts) or tools (such as strings.xml).

This change keeps the margin indicator but disables auto-wrap while typing.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Álvaro Brey Vilas 3 年之前
父节点
当前提交
b17bdc8e1e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .idea/codeStyles/Project.xml

+ 1 - 1
.idea/codeStyles/Project.xml

@@ -28,7 +28,7 @@
       </value>
     </option>
     <option name="RIGHT_MARGIN" value="120" />
-    <option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" />
+    <option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
     <JavaCodeStyleSettings>
       <option name="IMPORT_LAYOUT_TABLE">
         <value>