Reputation: 2413
I noticed there is a black, thin line crossing the screen in IntelliJ IDEA editor:
I imagine this is a "hint" that tells you when to introduce a new line if the current line is getting huge, but I am not sure about this theory.
Is that the reason?
Thanks.
Upvotes: 3
Views: 534
Reputation: 4535
The line marks the area where all code is wrapped when you use the auto-formatter if you have it configured that way. IntelliJ will insert line breaks so that there are no overlappings.
Upvotes: 2
Reputation: 524
It seems it put there for help you to make your code more readable. When you reach it, it's better to go to new line to avoid long lines in your code So... Yes! You're Right!
Upvotes: 1