idea java添加属性快捷键_Intellij IDEA 常用 设置 及 快捷键 (持续更新)
Transparent native-to-ascii conversion以下設(shè)置都可以通過(guò) 設(shè)置中的搜索框 進(jìn)行關(guān)鍵字搜索
0, 打開(kāi)Project 設(shè)置
Command + ;
1, 打開(kāi)Module設(shè)置
Command + ,
3, 顯示當(dāng)前文件結(jié)構(gòu)
Command + 7
4, 多行注釋
control + shift + /
5, 單句代碼提示(補(bǔ)全關(guān)鍵字)
control + space
6, 整句智能提示
control + shift + space
7, 折疊當(dāng)前方法
Command + .
8, 刪除當(dāng)前行
Command + delete
9, 剪切當(dāng)前行
Command + x
10, 運(yùn)行
control + r
11, 編譯
Command + F9
12, Debug
control + d
13, 運(yùn)行
control + r
14, 在下方插入一行
Command + enter
15, 快速插入常用方法
control + enter / Command + n
16, 快速選中代碼(從光標(biāo)行 上下 對(duì)稱選中)
alt + 上/下
17, 移動(dòng)選中代碼
alt + shift + 上/下
18, 訪問(wèn)光標(biāo)處代碼的 定義
Command + b
19, 返回上一個(gè)編輯的文件
Command + [
20, 回到下一個(gè)編輯的文件
Command + ]
21, 切換 文件 tab(打開(kāi)的文件)
Command + shift + [/]
22, 關(guān)閉當(dāng)前tab
Command + w
23, 快速打開(kāi)class文件
Command + o
24, 快速打開(kāi)所有文件
Command + shift + o
25, 快速打開(kāi)方法
alt + Command + o
26, 查看定義
Command + 下
28, 格式化代碼
alt + Command + l
29, 快速插入方法 及 其他代碼模板
Command + j30, import 未引入的包
alt + enter31, 批量刪除未使用的import
control + alt + o32, 快速搜索
shift*233, 查看javadoc
control + 鼠標(biāo)中鍵//----------------- 設(shè)置 ---------------------1, 顯示行號(hào)
Editor -> Appearance -> Show line Numbers
2, 打開(kāi)內(nèi)存使用狀態(tài)
Appearance&Behavior -> Appearance -> Show memory indicator3, 代碼提示不區(qū)分大小寫
Editor -> General -> Code Completion -> Case sensitive completion -> None4, 關(guān)閉 類 nerver unused 警告(方法, 屬性 以此類推)
Editor -> Inspections -> Java -> Declaration redundancy -> Unused declaration-> On the fly editor setting -> 取消勾選 Check Classes5, 自動(dòng) 導(dǎo)入/刪除 import
Editor -> Auto Import -> Java -> 勾選Optimize imports on the fly 和 Add unambiguous imports on the fly6, 設(shè)置Properties文件編碼
Editor -> File Encodings -> 最下方Properties Files 選擇UTF-8編碼,勾
選 Transparent native-to-ascii conversion
總結(jié)
以上是生活随笔為你收集整理的idea java添加属性快捷键_Intellij IDEA 常用 设置 及 快捷键 (持续更新)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 我是做k金小耳钉的,需要倒模,产能比较低
- 下一篇: 购物网站上打出()之类的字眼能够很容易地