Right margin

There are 2 options connected to right margin:

Editor -> Appearance -> Show right margin


Code style -> General -> Right margin (columns)

However you can set only one value for right margin.

According to PSR-2 ( at https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md ) :

There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less.

It would be nice if you can set 2 right margin values and display 2 lines - I would like to set 80 and 120 characters and display those 2 lines but at the moment it's not possible (I believe).

Comment actions Permalink

Please feel free to create a request for this feature in youtrack,http://youtrack.jetbrains.com/issues/IDEA

Comment actions Permalink

I've added comment here: http://youtrack.jetbrains.com/issue/IDEA-99875 - it seems it was asked for other users quite long time ago but there is no action more and it has not been implemented


Please sign in to leave a comment.