Search code examples
idecustomizationphpstormpsr-2

Multiple "right margins" or guides in PHPStorm


PHPStorm has a vertical line on what they call the "right margin" which is set by default to 120 characters or columns...

Given that PSR standards state 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'd be nice if I could get another visual indicator at the 80 character mark...

I'm well aware that it says what line/column you're on in the status bar, but I typically hide most panels (status bar included) while coding.

Therefore, is there a way (feature or plugin) that would allow me to add a 2nd vertical line to indicate the 80th column?


Solution

  • It is not currently possible .. and no plugin comes into my mind.

    https://youtrack.jetbrains.com/issue/IDEA-99875 -- star/vote/comment to get notified on progress.

    P.S. Considering that this is rather PHP/Python specific (other languages do not care about this) .. I would not expect JB to have it implemented in nearest future...