11

There is a vertical line in Intellij Idea on 120th column.

Is there a way to move it some arbitrary column (I'd prefer one hundred symbols per line)?

1 Answer 1

18

Found the answer on my own.

To change the default margin go to Preferences -> CodeStyle -> General -> Right margin and enter any value you prefer.

1
  • 1
    I would also add that, to enforce this value when formatting, you should activate Settings -> Editor -> Java/Groovy/JSON -> Wrapping and Braces -> Ensure right margin is not exceeded Commented Oct 15, 2015 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.