file>settings>editor>general>appearance>show right margin(configured in code style ootions) 转载于:https://www.cnblogs.com/linsx/p/7765460.html