修改主题和字体
File > settings > Editor > > Color Scheme 右边下拉选择
Class Light白色的
修改Intellij idea默认的全局配置,如Maven等
File⇨ New Projects Settings ⇨ Settings for New Projects
IntelliJ IDEA输出打印System.out.println()的快捷键
在eclipse中习惯了使用syso,开始用idea很不习惯。
在idea中直接输入sout,自动出现提示,不像eclipse中那样还要alt+/,这算是idea的一个优点了。
https://www.cnblogs.com/pejsidney/p/8635585.html
IDEA 自动导入 导入多个类 快捷键
- 导入单个类
Alt+Enter
(需要移动光标至被导入的类的单词位置) - 导入多个类
Ctrl+Alt+O
Idea 快捷键:
自动完成
Basic Alt+/ 自动完成
SmartType Alt+Enter 自动提示完成
Navigate:
Class… Ctrl+N 查找类文件
File… Ctrl+Shift+N 查找文件
Line… Ctrl+G 定位到文件某一行
Idea 左右窗口联动,当选择某个文件时左侧导航栏自动滚动到对应文件
旧版本叫autoscroll,新版本改名了。
网址:https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006983339-Autoscroll-to-Source
The options are at the same place, but were renamed:
Autoscroll to Source -> 新版本的名字:Open Files with Single Click
Autoscroll from Source -> 新版本的名字: Always Select Opened File