arakawa

arakawa

IDEA(首次安装)的常用设置

前言#

本文基于 IntelliJ IDEA v2019.3.4、Windows 10 环境

进入配置页:

  1. 首次安装完,可以在欢迎页直接进入:
    image-20220221094336698

  2. 如果错过了欢迎页,可以通过:File -> Settings...,进入配置页:

image-20220221105340010

字符编码设置:UTF-8#

Editor -> File Encodings

image-20220221094927287

编辑通用设置:控制字体 + 帮助#

Editor -> General

image-20220221095647945

自动导包设置#

Editor -> General -> Auto Import

image-20220221100254085

通用编辑外貌设置:行号 + 分隔线#

Editor -> General -> Appearance

image-20220221100845418

通用编辑补全设置#

Editor -> General -> Code Completion

image-20220221101318356

快捷键设置#

第一步:Keymap -> Main menu -> Code -> Completion

image-20220221101617640

第二步:

image-20220221102043303

第三步:

image-20220221102201773

第四步:

image-20220221102308631

最后,点击 Apply

开发环境 JDK 设置#

image-20220221102615476

image-20220221102701009

修改内存大小#

image-20220221103413921

image-20220221104622143

显示内存占用情况#

效果:

image-20220221104922959

设置:

image-20220221105025338


新版开启的方式:View -> Apperance -> Status Bar Widgets -> Memory Indicator

显示方法的注释#

调用方法时#

Editor -> General -> Code Completion:

image-20220225152336958

鼠标移至方法上时#

Editor -> General:

image-20220225152531083


新版: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,取消勾选

image-20230327155212306

显示 Java 面包屑导航#

File -> Settings -> Editor > General > Breadcrumbs,勾选 java

image-20230327155638704

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.