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

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。