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>
This commit is contained in:
Álvaro Brey Vilas 2021-11-09 12:02:02 +01:00
parent f0ee7d719e
commit b17bdc8e1e
No known key found for this signature in database
GPG Key ID: 2585783189A62105
1 changed files with 1 additions and 1 deletions

View File

@ -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>