[筆記]MyEclipse For Mac 快速鍵__【JavaEE開發】

來源:互聯網
上載者:User




快鍵鍵

作用

備忘

Command+1

快速修複(自動導包等)

比如與Syso配合,與main配合可快速構造方法簽名

Alt+/

自動補全

 

Command+/

選中部分添加(消除)注釋

 

Command+D

刪除當前行

 

Command+Alt+S

調出source菜單

Getter/setter以及重寫和覆蓋父類方法等等有關產生原始碼相關的操作都在這個鍵的上下文裡

Command+Shift+F

格式化代碼

 

Command+E

顯示最近編輯的文檔

 

Command+Shift+L

顯示本視圖上所有的快速鍵

 

Command+2+L

引入變數

比如在Calendar.getInstance();的時候,用此快速鍵可自動補全

Command+Alt+↓

複製當前行到下一行

 

Command+Alt+↑

複製當前行到上一行

 

Alt+     →

移到下一個單詞

 

Alt+←

移到上一個單詞

 

Alt+Del

刪除前一個單詞

 

Command+→

移到行尾

 

Command+←

移到行首

 

Alt+Shift+→

選中下一個單詞

 

Alt+Shift+←

選中前一個單詞

 

Command+Shift+→

選中當前位置到行尾

 

Command+Shift+←

選中當前位置到行首

 

Alt+Command+M

選中部分抽取為方法

 

Command+[

跳轉到上一次編輯

 

Command+]

跳轉到下一次編輯

 

Command+L

跳轉到指定的行

 

Shift+Command+P

跳轉到相應地大括弧

 

Control+Alt+↓

跳到下一個成員函數或成員變數

 

Control+Alt+↑

跳到上一個成員函數或變數

 

Command+↑

移到開頭

 

Command+↓

移到結尾

 

Shift+Command+Enter

在本行的上面插入一行

 

Control+Q

最後一次編輯的地方(全域)

 

Control+M

切換最大化和最小化

 

Alt+Command+N

調出建立菜單

 

Command+.

查看代碼警告(黃色歎號)

 

Command+F8

切換視圖

 

Control+Alt+H

查看當前函數調用棧

 

Control+H

開啟尋找對話方塊

尋找函數,檔案,類等等

Command+O

開啟當前檔案結構

 

Shift+Command+O

自動匯入當前缺少的包

 

Command+2+L

將臨時new出來的變數取名字作為局部變數

 

Command+2+F

將臨時new出來的變數取名字作為成員變數

 

Command+2+R(ALT+Command+R)

給變數重新命名

 

Shift+Command+F11

運行當前檔案

 

Shift+Command+S

儲存所有檔案

 

Control+↑

向上滾動頁面

 

Control+↓

向下滾動頁面

 

Alt+Command+Q

調出show view

 

Shift+Command+E

展示Editor列表(贊)

 

Alt+Command+/

補全名稱

 

SHIFT+Command+X

選中部分全部大寫

 

SHIFT+Command+Y

選中部分全部小寫

 




Command+F7

展示下一個view

設定成Command+F1比較方便

Command+F6

展示下一個Editor

設定成Command+F2比較方便

F3

展開調用函數的源碼

 




MyEclipse外掛程式:vrapper(vim模式神器),findbugs 可以幫你找bug




聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.