前言#
本文基于 IntelliJ IDEA v2019.3.4、Windows 10 环境
进入配置页:
-
首次安装完,可以在欢迎页直接进入:
-
如果错过了欢迎页,可以通过:
File
->Settings...
,进入配置页:
字符编码设置:UTF-8#
Editor
-> File Encodings
编辑通用设置:控制字体 + 帮助#
Editor
-> General
自动导包设置#
Editor
-> General
-> Auto Import
通用编辑外貌设置:行号 + 分隔线#
Editor
-> General
-> Appearance
通用编辑补全设置#
Editor
-> General
-> Code Completion
快捷键设置#
第一步:Keymap
-> Main menu
-> Code
-> Completion
第二步:
第三步:
第四步:
最后,点击 Apply
开发环境 JDK 设置#
修改内存大小#
显示内存占用情况#
效果:
设置:
新版开启的方式:View -> Apperance -> Status Bar Widgets -> Memory Indicator
显示方法的注释#
调用方法时#
Editor -> General -> Code Completion:
鼠标移至方法上时#
Editor -> General:
新版:File -> Settings -> Editor -> Code Editing,勾选 Show quick documentation on hover
其他常用设置#
以下设置的操作环境:IntelliJ IDEA 2022.3.3
Git 的 commit 使用独立窗口#
File -> Settings -> Version Control -> Commit -> Use non-modal commit interface
,取消勾选
显示 Java 面包屑导航#
File -> Settings -> Editor > General > Breadcrumbs
,勾选 java