stack man
stack man

Reputation: 2413

Why is there a black line crossing the screen in IntelliJ Idea

I noticed there is a black, thin line crossing the screen in IntelliJ IDEA editor:

enter image description here

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

Answers (2)

QBrute
QBrute

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.

enter image description here

Upvotes: 2

Sajad
Sajad

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

Related Questions