Soft wraps in intellij
You've picked the right option (File | Settings | Editor | General | Use soft wraps in editor
).
[Edit: As of IntelliJ v. 2019.1.3, possibly earlier, the options are now: (File | Settings | Editor | General | Soft-wrap files)
, with a list of filename extensions that should be soft-wrapped by default.
]
As it said in documentation:
If this checkbox is selected, soft wraps (or word wraps) are used in the editor. The horizontal scroll bar is not normally shown when this option is enabled. However, in certain cases, when a line cannot be "soft-wrapped", the horizontal scroll bar still appears (for example, if a line consists of a single string that is wider than the visible area.)
With the exception described above, when the parameter applied it will wrap the lines in editor
- if they cannot fit on the editor view,
- or if their length bigger than value specified by the
Right margin (columns)
parameter.
In editor the margin displayed as a vertical gray line. It can be specified as File | Settings | Editor | Code Style | Right margin (columns)
.
Soft wrap works all files extension (Jetbrains IDE)
Newer Versions:
Editor > General > Soft Wraps > (Tick) Soft-wrap files: *
You can filter on what files you wanna wrap or not.