This tutorial explains about multiple ways to do following things
- Changing line width
- Limit character display on each line
IntelliJ IDEA change line width by limit characters to 100
using editorconfig file
EditorConfig
is configuration file that contains universal rules applied to all editors.- Create
.editorconfig
in root of the application - Add the
max_line_length
property to.editorconfig
file and save it.
- Create
max_line_length = 80
max_line_length
=80 adds line wrap after 80 characters and possible values are integer
or off
.
This works in all popular IDE such as IntelliJ IDEA,VSCode, Atom, Eclipse and Sublime.