idea2021 sdk怎么设置? -凯发官网首页
1.设置主题
file -> settings... -> appearance & behavior -> appearance -> theme下拉选择主题
2.关闭idea自动更新
file -> settings... -> appearance & behavior -> system settings -> updates -> check ide updates for 前面去掉对勾
3.隐藏.idea文件和.iml等文件
file -> settings... -> editor -> file types -> ignored files and folders -> -> *.idea,*.iml
4.修改编写代码的字体和大小
file -> settings... -> editor -> font -> 设置字体font 和 大小size
5.修改项目文件等编码
file -> settings... -> editor -> file encodings -> 3处位置全部设为[utf-8] -> transparent native-to-ascii conversion前面对勾打上
6.设置代码提示忽略大小写
file -> settings... -> editor -> code completion -> match case前面把对勾去掉
7.设置自动导包
file -> settings... -> editor -> general -> auto import -> insert imports on paste选择always -> 2个对勾打上
8.生成serialversuinuid
file -> settings... -> editor -> inspections -> java -> serialization issues -> serializable class without 'serialversionuid' 后面加上对勾
将光标放到类名上按atl enter键就会提示生成serialversionuid了。
9.设置一个tab为4个空格键
file -> settings... -> editor -> use tab character前面取消勾
10.导入导出配置
file -> mange ide settings
11.在欢迎界面导入配置