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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

idea 快捷键整理

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

idea快捷方式整理

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

這是官網給出的快捷方式:

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

? 運行任何東西

? 執(zhí)行命令,例如打開項目,啟動運行/調試配置,運行命令行實用程序等。 可用命令取決于您為項目配置的插件和工具集。

Double Shift

? 隨處搜索

? 找到與IntelliJ IDEA或您的項目相關的任何內容,然后打開它,執(zhí)行它或跳轉到它。

Ctrl + Shift + A

? 尋找行動

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

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

? 查找類,文件或符號

? 查找并跳轉到所需的類,文件或符號。

Ctrl + E

? 查看最近的文件

? 從列表中選擇最近打開的文件。

Alt + Enter

? 顯示意圖行動

? 改進或優(yōu)化代碼構造。

Ctrl + W
Ctrl + Shift + W

? 擴展或縮小選擇范圍

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

Ctrl + /
Ctrl + Shift + /

? 添加/刪除行或阻止評論

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

Ctrl + Shift + F7

? 突出顯示文件中的用法

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

其他的一些常用小技巧:

Ctrl + B

? 快速轉到聲明,如果將光標放在類,方法或變量中并使用快捷方式,則會立即跳轉到元素的聲明。

Ctrl + Alt + insert

? 快速打開創(chuàng)建選項

Ctrl + W

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

Ctrl + Shift + Enter

? 快速為聲明添加大括號,并自動將光標對齊

Ctrl + N

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

總結

以上是生活随笔為你收集整理的idea 快捷键整理的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。