mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 10:46:54 +01:00
Wrap lines automatically at 120 character margin
Problem: bisq-network/style#3 indicates code should be wrapped at 120 characters, but it is likely that people will forget and that this habit will only change slowly. Solution: Configure IDEA to wrap lines automatically when typing past 120 characters, forcing the reminder to happen in real time. If this becomes a nuisance, we can remove it later. Note that this change also explicitly sets the RIGHT_MARGIN value to 120, even though this is already IDEA's default value. This is simply to be explicit and self-documenting.
This commit is contained in:
parent
35231e2ade
commit
8f25bf3170
1 changed files with 2 additions and 0 deletions
2
.idea/codeStyles/Project.xml
generated
2
.idea/codeStyles/Project.xml
generated
|
@ -171,7 +171,9 @@
|
||||||
<option name="KEEP_BLANK_LINES" value="true" />
|
<option name="KEEP_BLANK_LINES" value="true" />
|
||||||
</Properties>
|
</Properties>
|
||||||
<codeStyleSettings language="JAVA">
|
<codeStyleSettings language="JAVA">
|
||||||
|
<option name="RIGHT_MARGIN" value="120" />
|
||||||
<option name="BLANK_LINES_BEFORE_PACKAGE" value="1" />
|
<option name="BLANK_LINES_BEFORE_PACKAGE" value="1" />
|
||||||
|
<option name="WRAP_ON_TYPING" value="1" />
|
||||||
</codeStyleSettings>
|
</codeStyleSettings>
|
||||||
</code_scheme>
|
</code_scheme>
|
||||||
</component>
|
</component>
|
Loading…
Add table
Reference in a new issue