日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

idea 快捷键整理

發(fā)布時(shí)間:2024/9/20 编程问答 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 idea 快捷键整理 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

idea快捷方式整理

? 使用idea的最關(guān)鍵的原因就是要增加我的開(kāi)發(fā)效率,那怎么能少了idea的快捷鍵呢?所以就特意去查了查idea的快捷方式。

這是官網(wǎng)給出的快捷方式:

Double Ctrl

? Run Anything

? Execute commands, such as opening a project, launching a run/debug configuration, running a command-line utility, and so on. The available commands depend on the set of plugins and tools you have configured for your project.

Double Shift

? Search Everywhere

? Find anything related to IntelliJ IDEA or your project and open it, execute it, or jump to it.

Ctrl + Shift + A

? Find Action

? Find a command and execute it, open a tool window or search for a setting.

Ctrl + N
Ctrl + Shift + N
Ctrl + Shift + Alt + N

? Find a class, file, or symbol

? Find and jump to the desired class, file, or symbol.

Ctrl + E

? View recent files

? Select a recently opened file from the list.

Alt + Enter

? Show intention actions

? Improve or optimize a code construct.

Ctrl + Space

? Basic code completion

? Complete names of classes, methods, fields, and keywords within the visibility scope.

Ctrl + W
Ctrl + Shift + W

? Extend or shrink selection

? Increase or decrease the scope of selection according to specific code constructs.

Ctrl + /
Ctrl + Shift + /

? Add/remove line or block comment

? Comment out a line or block of code.

Ctrl + Shift + F7

? Highlight usages in a file

? Highlight all occurrences of the selected fragment in the current file.

翻譯一下:

Double Ctrl

? 運(yùn)行任何東西

? 執(zhí)行命令,例如打開(kāi)項(xiàng)目,啟動(dòng)運(yùn)行/調(diào)試配置,運(yùn)行命令行實(shí)用程序等。 可用命令取決于您為項(xiàng)目配置的插件和工具集。

Double Shift

? 隨處搜索

? 找到與IntelliJ IDEA或您的項(xiàng)目相關(guān)的任何內(nèi)容,然后打開(kāi)它,執(zhí)行它或跳轉(zhuǎn)到它。

Ctrl + Shift + A

? 尋找行動(dòng)

? 查找命令并執(zhí)行它,打開(kāi)工具窗口或搜索設(shè)置。

Ctrl + N
Ctrl + Shift + N
Ctrl + Shift + Alt + N

? 查找類(lèi),文件或符號(hào)

? 查找并跳轉(zhuǎn)到所需的類(lèi),文件或符號(hào)。

Ctrl + E

? 查看最近的文件

? 從列表中選擇最近打開(kāi)的文件。

Alt + Enter

? 顯示意圖行動(dòng)

? 改進(jìn)或優(yōu)化代碼構(gòu)造。

Ctrl + W
Ctrl + Shift + W

? 擴(kuò)展或縮小選擇范圍

? 根據(jù)特定代碼構(gòu)造增加或減少選擇范圍。

Ctrl + /
Ctrl + Shift + /

? 添加/刪除行或阻止評(píng)論

? 注釋掉一行或一段代碼。

Ctrl + Shift + F7

? 突出顯示文件中的用法

? 突出顯示當(dāng)前文件中所有出現(xiàn)的所選片段。

其他的一些常用小技巧:

Ctrl + B

? 快速轉(zhuǎn)到聲明,如果將光標(biāo)放在類(lèi),方法或變量中并使用快捷方式,則會(huì)立即跳轉(zhuǎn)到元素的聲明。

Ctrl + Alt + insert

? 快速打開(kāi)創(chuàng)建選項(xiàng)

Ctrl + W

? 快速選擇代碼,第一次按下組合鍵會(huì)選擇這一行的代碼,第二次按下會(huì)選擇這一個(gè)代碼塊,第三次會(huì)選擇整個(gè)方法,第四次會(huì)擴(kuò)展到整個(gè)類(lèi),以此類(lèi)推直至選中整個(gè)文檔。

Ctrl + Shift + Enter

? 快速為聲明添加大括號(hào),并自動(dòng)將光標(biāo)對(duì)齊

Ctrl + N

? 搜索類(lèi)的名字將光標(biāo)轉(zhuǎn)到類(lèi)聲明的位置
————————————————
版權(quán)聲明:本文為CSDN博主「貪吃小明」的原創(chuàng)文章,遵循CC 4.0 BY-SA版權(quán)協(xié)議,轉(zhuǎn)載請(qǐng)附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/f2764052703/article/details/88876182

總結(jié)

以上是生活随笔為你收集整理的idea 快捷键整理的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。