Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
b17bdc8e1e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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>