1. idea中terminal配置成git终端

IntelliJ Idea 中:
File—>settings—>Tools—->Terminal—>
设置shell path 为D:\Git2.26\bin\bash.exe
也就是你的git中bin目录下的bash.exe
IDEA常用的一些设置

2.文件多行显示的设置

Ctrl+Alt+S快捷键【或者File—>settings】

IDEA常用的一些设置

相关文章: