1, 设置IDE主题
File -> Settings -> Appearance & Behavior -> appearance -> theme -> darcula
2, 设置代码编辑区样式
File -> Settings -> Editor -> Colors & Fonts -> Font -> scheme选择darcula,另存为新样式,下面的字体选source code pro,字体大小自己根据需要选择
3,显示行号
File -> Settings -> Editor -> General -> Appearance -> show line numbers
4,保存修改
Apply -> Save
整个效果如下图: