IntelliJ IDEA显示行号方法

File->Settings->Editor->General->Appearence->Show line numbers

原文地址:https://www.cnblogs.com/jackiehe/p/4337842.html