JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java IDE » Eclipse  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友   
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [精華]
sungo

瘋狂口罩大盜



發文: 822
積分: 17
於 2004-06-16 22:18 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
★ Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) ★

Author:sungo
Date:2004/06/16 (三)


◎閱讀說明:冒號 ( : )後的藍色標註熱鍵為Eclipse預設的標準熱鍵,空
白即表示Eclipse並未對該項目設熱鍵;紅色標註選項表示常用或重要熱
鍵;淡粉紅色標註選項,表示可以啟動該熱鍵的範圍。

◎熱鍵修改處:
Window->Preference->Workbench->Keys

◎FAQ,如果沒設熱鍵的功能要如何啟動?
方法一.自己增設熱鍵。
方法二.熱鍵設定裡的選項,其實功能表大部分都有,可以由功能表中直接點選。

◎給所有在看這篇文章的朋友:
T55555為了JavaWorld週年慶把DG2拿出來了,為了效法他的精神,所以我決定把
我的第一次也貢獻出來,加入JavaWorld這半年來我第一次打這麼長的文章...XD
。本來打算3.0 Release出來後再整理熱鍵表,但3.0 RC系列架構已經趨於平穩,
Release出來也不會有多大的變動,所以就先整理了。熱鍵表所列的功能,只要您
全部實際操作過一遍,將會為您在操作Eclipse上,帶來莫大的助益。

-------------------------------------------------------------------------------------------------------------

Compare - 比較
Copy All from Left to Right (由左向右複製全部)
Copy All from Right to Left (由右向左複製全部)
Copy from Left to Right (由左向右複製)
Copy from Right to Left (由右向左複製)
Select Next Change (選取下一個變更)
Select Previous Change (選取上一個變更)

CVS - Concurrent Versions System (版本控制系統)
Checkout from CVS (由CVS檢查)

Edit - 編輯
Add Bookmark (新增書籤)
Add Task (新增作業)
Collapse (程式碼折疊) : Ctrl+鍵盤右方數字區的'-' <Editing Text>
Content Assist (內容輔助 - Code Templetes啟動): Alt+/ 或 Ctrl+Space <In Dialogs and Windows>
Context Information (內容資訊) : Alt+? 或 ALT+Shift+?或 Ctrl+Shift+Space <In Windows>
Copy (複製選取文字到OS剪貼簿) : Ctrl+C <In Dialogs and Windows>
Custom Encoding (自訂編碼)
Cut (剪下選取文字並加至OS剪貼簿) : Ctrl+X <In Dialogs and Windows>
Default Encoding (使用預設編碼)
Delete (刪除選取的文字) : Delete <In Windows>
Expand (程式碼展開) : Ctrl+鍵盤右方數字區的'+' <Editing Text>
Expand All (程式碼全部展開) : Ctrl+鍵盤右方數字區的'*' <Editing Text>
Find and Replace (尋找並取代文字) : Ctrl+F <In Windows>
Find Next (尋找下一個項目) : Ctrl+K <Editing Text>
Find Previous (尋找上一個項目) : Ctrl+Shift+K <Editing Text>
Incremental Find (漸進式尋找) : Ctrl+J <Editing Text>
Incremental Find Reverse (逆向漸進式尋找) : Ctrl+Shift+J <Editing Text>
ISO-8859-1 Encoding (將編碼變更為 ISO-8859-1)
Paste (從OS剪貼簿貼上文字) : Ctrl+V <In Dialogs and Windows>
Quick Diff Toggle (QuickDiff 開啟/關閉) : Ctrl+Shift+Q <Editing Text>
Quick Fix (快速套件修正) : Ctrl+1 <Editing Java Source>
Redo (重做上一次作業) : Ctrl+Y <In Windows>
Restore Last Selection (恢復最後選取) : Alt+Shift+方向鍵'↓' <Editing Java Source>
Revert to Saved (回復至已儲存)
Select All (選擇全部文字) : Ctrl+A <In Dialogs and Windows>
Select Enclosing Element : (選取含括的元素) Alt+Shift+方向鍵'↑' <Editing Java Source>
Select Next Element (選取下一個元素) : Alt+Shift+方向鍵'→' <Editing Java Source>
Select Previous Element (選取上一個元素) : Alt+Shift+方向鍵'←' <Editing Java Source>
Shift Left (將該行文字往左移動一個縮排)
Shift Right (將該行文字往右移動一個縮排)
Show Tooltip Description (在游標位置顯示元素的工具提示說明) : F2 <Editing Java Source>
System Encoding (將編碼變更為系統編碼)
Toggle Folding (程式碼折疊、展開功能 開啟/關閉) : Ctrl+鍵盤右方數字區的'/' <Editing Text>
Toggle Insert Model (Smart Insert模式 開啟/關閉) : Ctrl+Shift+Insert <Editing Text>
Undo (復原前次作業) : Ctrl+Z <In Windows>
US ASCII Encoding (將編碼變更為 ASCII)
UTF-16BE Encoding (將編碼變更為 UTF-16BE)
UTF-16 Encoding (將編碼變更為 UTF-16)
UTF-16LE Encoding (將編碼變更為 UTF-16LE)
UTF-8 Encoding (將編碼變更為 UTF-8)

File - 檔案
Close (關閉檔案) : Ctrl+W 或 Ctrl+F4 <In Windows>
Close All (關閉全部檔案) : Ctrl+Shift+W 或 Ctrl+Shift+F4 <In Windows>
Exit (關閉螢幕最上層視窗) : Alt+F4 <In Dialogs and Windows>
(註:3.0RC2並沒預設這組熱鍵,但仍然可以使用。)

Export (開啟匯出功能表)
Import (開啟匯入功能表)
Move (移動檔案)
New (開啟檔案建立精靈Wizard) : Ctrl+N <In Windows>
New menu (顯示File->New選單) : ALT+Shift+N <In Windows>
Open External File (開啟外部檔案)
Open Workspace (開啟Workspace設定視窗)
Print (列印檔案) : Ctrl+P <In Windows>
Properties (org.eclipse.ui.file.properties) (顯示檔案內容) : Alt+Enter <In Windows>
Refresh (重新整理) : F5 <In Windows>
Rename (重新命名) : F2 <In Windows>
Revert (回復至已儲存)
Save (儲存檔案) : Ctrl+S <In Windows>
Save All (儲存全部檔案) : Ctrl+Shift+S <In Windows>
Save As (另存新檔)

Help - 說明
About (開啟關於對話框)
Help Contents (開啟Eclipse說明文件)
Tips and Tricks (開啟要訣和技巧說明頁面)
Weclome (開啟歡迎使用頁面)

Navigate - 導覽
Back (向後導覽)
Backward History (在編輯器導覽歷程中向後移動) : Alt+方向鍵'←' <In Windows>
Forward (向前導覽)
Forward History (在編輯器導覽歷程中向前移動) : Alt+方向鍵'→' <In Windows>
Go Into (進入選取的目錄內)
Go to Line (移至某一行文字) : Ctrl+L <Editing Text>
Go to Matching Bracket (將游標移至對稱的方括弧) : Ctrl+Shift+P <Editing Java Source>
Go to Next Member (移至下一個Member) : Ctrl+Shift+方向鍵'↓' <Editing Java Source>
Go to Package (移至套件,用於Package Explorer)
Go to Previous Member (移至上一個Member) : Ctrl+Shift+方向鍵'↑' <Editing Java Source>
Go to Resource (移至資源)
Go to Type (移至類別,用於Package Explorer)
Last Edit Loaction (移至前次編輯位置) : Ctrl+Q <In Windows>
Next (移至下一個標示元素) : Ctrl+. <In Windows>
(註:元素類型可由Toolbar的Next Annotation小倒三角圖示設定。)

Open Call Hierarchy (開啟Call Hierarchy視窗) : Ctrl+Alt+H <In Windows>
Open Declaration (瀏覽所選取的Java元素) : F3 <In Windows> (註:效果等於Ctrl+滑鼠左鍵點選。)
Open External Javadoc (開啟外部Javadoc) : Shift+F2 <In Windows>
Open Resource (開啟資源選取對話方塊) : Ctrl+Shift+R <In Windows>
Open Structure (顯示所選元素的結構) : Ctrl+F3 <Editing Java Source>
Open Super Implementation (開啟super類型中的實作)
Open Type (開啟類別) : Ctrl+Shift+T <In Windows>
Open Type Hierarchy (開啟類別階層顯示視窗) : F4 <In Windows>
Open Type in Hierarchy (在類別階層的視圖中開啟類別) : Ctrl+Shift+H <In Windows>
Previous (移至上一個標示元素) : Ctrl+, <In Windows>
(註:元素類型可由Toolbar的Previous Annotation小倒三角圖示設定。)

Quick Hierarchy (以浮動方式將類別階層視窗顯示在編輯器上) : Ctrl+T <Editing Java Source>
Quick Outline (以浮動方式將概要視窗顯示在編輯器上) : Ctrl+O <Editing Java Source>
Show In menu (顯示當前Show In功能表可用的選項) : Alt+Shift+W <In Windows>
Show in Package Explorer (在套件瀏覽器中顯示所選元素)
Up (導覽上一層)

Project - 專案
Build All (建置所有專案) : Ctrl+B <In Windows>
Build Clean (清除專案)
Build Project (建置專案)
Close Project (關閉專案)
Generate Javadoc (產生Javadoc)
Open Project (開啟專案)
Properties (org.eclipse.ui.project.properties) (開啟專案屬性設定視窗)
Rebuild All (重新建置所有專案)
Rebuild Project (重新建置專案)
Repeat Working Set Build (重複建置所設定的專案) (註:Build Automatically 關閉時才可使用。)

Refactor - Java (重構 - Java)
Change Method Signature (變更方法簽章) : Alt+Shift+C <In Windows>
Convert Anonymous Class to Nested (將匿名類別轉換成巢狀類別)
Convert Local Variable to Field (將區域變數轉換成欄位) : Alt+Shift+F <Editing Java Source>
Encapsulate Field (封裝欄位:為欄位建立getting和setting方法,並只用這些方法來存取欄位)
Extract Constant (擷取成常數:將數字擷取至新的Static欄位,並使用新的Static欄位)

註:<-START->

如下段程式碼經由Extract Constant重構數字10後...

1
2
3
4
5
public class Test {
    public static void main(String[] args) {
        int x = 10;
    }
}
會變成下列程式碼:(常數欄位名稱,在重構時可以自由設定。)
1
2
3
4
5
6
public class Test {
    public static final int TEN = 10;
    public static void main(String[] args) {
        int x = TEN;
    }
}
註:<-END->

Extract Interface (擷取成介面:將原類別內的方法擷取至新介面中,原類別將實作該介面)
(註:新介面會存成一個新的*.java檔。若是在interface中執行此功能,舊介面則會繼承新介面。)
Extract Local Variable (擷取成區域變數:將數字擷取為新的區域變數) : Alt+Shift+L <In Windows>
Extract Method (擷取成方法:將選取的表示式擷取成一個新方法) : Alt+Shift+M <In Windows>
Generalize Type (將reference的類別型態更改可以取代的Superclass)
Inline (列入常數、區域變數或方法) : Alt+Shift+I <In Windows>
Introduce Factory (採用代理:利用方法來取得建構子)

註:<-START->

如下段程式碼經由Introduce Factory重構Test建構子後...

1
2
3
4
5
6
7
8
9
public class Test {
    private int number;
    Test(int x) {
        number = x;
    }
    public static void main(String[] args) {
        System.out.println(new Test(5).number);
    }
}
會變成下列程式碼:
1
2
3
4
5
6
7
8
9
10
11
12
public class Test {
    private int number;
    public Test(int x) {
        number = x;
    }
    public static void main(String[] args) {
        System.out.println(createTest(5).number);
    }
    public static Test createTest(int x) {
        return new Test(x);
    }
}
註:<-END->

Introduce Parameter (採用參數:將區域變數改成參數方式傳遞)

註:<-START->

如下段程式碼經由Introduce Parameter重構數字5後...

1
2
3
4
5
public class Test {
    public static void main(String[] args) {
        int x = 5;
    }
}
會變成下列程式碼:
1
2
3
4
5
public class Test {
    public static void main(String[] args, int five) {
        int x = five;
    }
}
註:<-END->

Move Member Type to New File (將類別成員移至一個新檔)
Move - Refactoring (移動 - 重構:將所選取的元素移至新位置) : Alt+Shift+V <In Windows>
Pull Up (將類別成員<欄位與方法>上推到類別的父類別中)
Push Down (將類別成員(欄位與方法)下推到類別的子類別中)
Redo - Refactoring (重做 - 重構:重做前次的重構) : Alt+Shift+Y <In Windows>
Refactor Quick Menu (在編輯區顯示重構的快速功能表) : Alt+Shift+T <In Windows>
Rename - Refactoring (更名 - 重構:將所選取的元素重新命名,類別名稱、區域變數名稱等...) :
Alt+Shift+R <In Windows>
Undo - Refactoring (復原 - 重構:復原前次的重構) : Alt+Shift+Z <In Windows>
Use Supertype Where Possible (啟動「適當時使用父類別」重構對話框。)

◎補充命名規則:(重構時不照此規則命名時,Eclipse將會警示,
雖然可以不管警示,但這是個好風格。)


1.介面(interface)名稱:開頭大寫。
2.區域變數(Local Variable)名稱:開頭小寫 。
3.常數欄位(public static final int...)名稱:全部大寫。


Run/Debug - 執行/除錯
Add Class Load Breakpoint (新增一個類別載入中斷點))
Add Java Exception Breakpoint (新增一個Java異常狀況中斷點)
Debug... (開啟除錯啟動配置對話框)
Debug Last Launched (開啟最近一次啟動作業的除錯模式) : F11 <In Windows>
Display (org.eclipse.jdt.debug.ui.commands.Display) (顯示) : Ctrl+Shift+D <In Windows>
(註:當執行緒暫停時,此指令會使用「顯示」檢視畫面,顯示在該執行緒之堆疊框或變數的環境定義下
,評估所選表示式的結果。)


Execute (執行:開啟執行啟動配置對話框) : Ctrl+U <In Windows>
Inspect (觀察): Ctrl+Shift+I <In Windows>
(註:當執行緒暫停時,此指令會使用「表示式」檢視畫面,顯示在該執行緒之堆疊框或變數的環境定義
下,視察所選表示式或變數的結果。)


Profile Last Launched (最近一次作業的概況)
Resume (繼續執行緒的執行) : F8 <Debugging>
Run Last Launched (在執行模式下迅速執行最近一次的啟動作業): Ctrl+F11 <In Windows>
Run Last Launched External Tool (執行前一次啟動的外部工具)
Run to Line (執行至指定行,可在沒有設定中斷點之處暫停執行) : Ctrl+R <Debugging>
Skip All Breakpoints (在不清除中斷點的情況下,執行時跳過所有的中斷點)
Step Into (進入副程序) : F5 <Debugging>
Step Into Selection (進入目前所選的陳述式進行副程序除錯) : Ctrl+F5 <Debugging>
Step Over (跳過副程序) : F6 <Debugging>
Step Return (跳出副程序): F7 <Debugging>
Suspend (暫停執行緒)
Terminate (終止執行緒)
Toggle Breakpoint (新增/移除,中斷點) : Ctrl+Shift+B <In Windows>
Toggle Method Breakpoint (新增/移除,方法中斷點)
Toggle Step Filters (以過濾條件逐步除錯) : Shift+F5 <In Windows>
Toggle Watchpoint (新增/移除,欄位的監視點)

Search - 搜索
Declaration in Hierarchy (在它的階層中搜尋所選元素的宣告)
Declaration in Project (在專案中搜尋所選元素的宣告)
Declaration in Working Set (在工作集中搜尋所選元素的宣告)
Declaration in Workspace (在工作區中搜尋所選元素的宣告) : Ctrl+G <In Windows>
Exception Occurrences (搜索例外事件)
File Search (開啟搜尋對話框的檔案搜尋頁面)
Implementors in Project (在專案中搜尋所選介面的實作者)
Implementors in Working Set (在工作集中搜尋所選介面的實作者)
Implementors in Workspace (在工作區中搜尋所選介面的實作者)
Occurrences in File (在它的宣告檔案中搜尋所選元素的所有出現處) : Ctrl+Shift+U <In Windows>
Open Search Dialog (開啟搜尋對話框) : Ctrl+H <In Windows>
Read Access in Hierarchy (在它的階層中搜尋所選元素的讀取參考)
Read Access in Project (在專案中搜尋所選元素的讀取參考)
Read Access in Working Set (在工作集中搜尋所選元素的讀取參考)
Read Access in Workspace (在工作區中搜尋所選元素的讀取參考)
References in Hierarchy (在它的階層中搜尋所選元素的參考)
References in Project (在專案中搜尋所選元素的參考)
References in Working Set (在工作集中搜尋所選元素的參考)
References in Workspace (在工作區中搜尋所選元素的參考) : Ctrl+Shift+G <In Windows>
Referring Tests (查詢測試)
Write Access in Hierarchy (在它的階層中搜尋所選元素的寫入參考)
Write Access in Project (在專案中搜尋所選元素的寫入參考)
Write Access in Working Set (在工作集中搜尋所選元素的寫入參考)
Write Access in Workspace (在工作區中搜尋所選元素的寫入參考)

Source - 程式碼
Add Block Comment (將選取的字行以多行註解/**/包起來) : Ctrl+Shift+/ <Editing Java Source>
Add Constructors from Superclass (從父類別增加一個建構子)
Add Import (為目前所選的類別參考建立一項匯入宣告) : Ctrl+Shift+M <Editing Java Source>
Add Javadoc Comment (新增Javadoc註解) : Alt+Shift+J <In Windows>
Comment (註解)
Externalize Strings (開啟「外部化字串」精靈)
Find Strings to Externalize (尋找要外部化的字串)
Format (程式碼自動排版) : Ctrl+Shift+F <Editing Java Source>
Format Element (格式化元素)
Generate Constructor using Fields (使用欄位來產生建構子)

註:<-START->

如下段程式碼,選取欄位名稱money並經由Generate Constructor using Fields指令後...

1
2
3
4
5
public class Test {
    int money;
    public static void main(String[] args) {
    }
}
會變成下列程式碼:
1
2
3
4
5
6
7
8
public class Test {
    int money;
    public Test(int money) {
        this.money = money;
    }
    public static void main(String[] args) {
    }
}
註:<-END->

Generate Delegate Methods (開啟「產生委派方法」對話框,可新增類型欄位的委派方法)
Generate Getters and Setters (開啟「產生Getter與Setter」對話框,可以為欄位自動
建立Getter和Setter方法)
Indent Line (單行縮排,其會遵照Formatter設定的格式) : Ctrl+I <Editing Java Source>
Mark Occurrences (標註事件): Alt+Shift+O <Editing Java Source>
Organize Imports (組織匯入) : Ctrl+Shift+O <In Windows>
(註:這是個很方便的功能,簡易說明一下使用時機:假設我們在程式中打,JFrame src;而並未
import任何swing類別,此時Eclipse便會出現錯誤警示,用紅底線將JFrame標起來,此時只要按
下Ctrl+Shift+O,Eclipse便會自動將:import javax.swing.JFrame;加到程式碼中了。)


Override/Implement Methods (開啟「覆寫/實作方法」對話框,可覆寫或實作現行類別中的方法)
Remove Block Comment (移除多行註解/**/) : Ctrl+Shift+\ <Editing Java Source>
Remove Occurrence Annotations (移除事件書籤): Alt+Shift+U <Editing Java Source>
Sort Members (排序成員)
Source Quick Menu (在編輯區顯示Source的快速功能表) : Alt+Shift+S <In Windows>
Surround with try/catch Block (以try/catch區塊包覆所選文字)
Toggle Comment (加上單行註解/取消單行註解) Ctrl+/ 或 Ctrl+7 或 Ctrl+Shift+C
<Editing Java Source>
Uncomment (取消註解)

◎補充,Source 隱藏熱鍵:
1.Shift Right (向右移位,增加目前所選字行的內縮層次) : Tab <Editing Java Source>
2.Shift Left (向左移位,減少目前所選字行的內縮層次) : Shift+Tab <Editing Java Source>

Team - 團隊
Synchronize (同步化)

Text Editing - 文字編輯
Claer Mark (清除標記)
Copy Lines (將選取的文字,複製成新行) : Ctrl+Alt+方向鍵'↓' <Editing Text>
Cut Line (剪下單行文字)
Cut to Beginning of Line (剪下文字,範圍為選取處至單行開頭)
Cut to End of Line (剪下文字,範圍為選取處至單行尾端)
Delete Line (刪除單行文字) : Ctrl+D <Editing Text>
Delete Next (刪除下一行)
Delete Next Word (刪除下一個字組) : Ctrl+Delete <Editing Text>
Delete Previous (刪除前一行)
Delete Previous Word (刪除前一個字組) : Ctrl+Backspace <Editing Text>
Delete to Beginning of Line (刪除文字,範圍為選取處至單行開頭)
Delete to End of Line (刪除文字,範圍為選取處至單行尾端)
Duplicate Lines (將選取的文字,複製成新行) : Ctrl+Alt+方向鍵'↑' <Editing Text>
Insert Line Above Current Line (在游標處的該行上方插入新行) : Ctrl+Shift+Enter <Editing Text>
Insert Line Below Current Line (在游標處的該行下方插入新行) : Shift+Enter <Editing Text>
Line Down (游標往下移一行)
Line End (游標移至該行尾端)
Line Start (游標移至該行開頭)
Line Up (游標往上移一行)
Move Lines Down (將該行文字往下移動) : Alt+方向鍵'↓' <Editing Text>
Move Lines Up (將該行文字往上移動) : Alt+方向鍵'↑' <Editing Text>
Next Column (游標移至下一列)
Next Word (游標移至下一個字組) : Ctrl+方向鍵'→' <Editing Text>
Page Down (移至下一頁)
Page Up (移至上一頁)
Previous Column (游標移至上一列)
Previous Word (游標移至上一個字組) : Ctrl+方向鍵'←' <Editing Text>
Scroll Line Down (向下捲動) : Ctrl+方向鍵'↓' <Editing Text>
Scroll Line Up (向上捲動) : Ctrl+方向鍵'↑' <Editing Text>
Select Line Down (選取下一行)
Select Line End (選取至文字尾端)
Select Line Start (選取至文字開頭)
Select Line Up (選取上一行)
Select Next Column (選取下一列)
Select Next Word (選取下一個字組): Ctrl+Shift+方向鍵'→' <Editing Text>
Select Page Down (選取下一頁)
Select Page Up (選取上一頁)
Select Previous Column (選取上一列)
Select Previous Word (選取前一個字組) : Ctrl+Shift+方向鍵'←' <Editing Text>
Select Text End (選取至文字編輯器尾端)
Select Text Start (選取至文字編輯器開頭)
Select Window End (選取至視窗尾端)
Select Window Start (選取至視窗開頭)
Set Mark (設定標記)
Swap Mark (交換標記)
Text End (游標移至文字編輯器最底端)
Text Start (游標移至文字編輯器最頂端)
Toggle Overwrite (覆寫/插入 模式選擇) : Insert <Editing Text>
To Lower Case (將選取的英文字轉為小寫) : Ctrl+Shift+Y <Editing Text>
To Upper Case (將選取的英文字轉為大寫) : Ctrl+Shift+X <Editing Text>
Window End (將游標移至視窗尾端)
Window Start (將游標移至視窗開頭)

Views - 檢視
Ant (開啟Ant檢視視窗)
Bookmarks (開啟書籤檢視視窗)
Breakpoints (開啟中斷點檢視視窗)
Classic Search (開啟傳統的搜索檢視視窗)
Console (開啟主控台檢視視窗)
CVS Annotate (開啟CVS Annotate檢視視窗)
CVS Editors (開啟CVS Editor檢視視窗)
CVS Repositories (開啟CVS Repositories檢視視窗)
CVS Resource History (開啟CVS Resource History檢視視窗)
Debug (開啟除錯檢視視窗)
Display (org.eclipse.jdt.debug.ui.DisplayView) (開啟除錯-顯示檢視視窗)
Error Log (開啟錯誤記錄檢視視窗)
Expressions (開啟除錯-表示式檢視視窗)
Java Call Hierarchy (開啟Call Hierarchy檢視視窗)
Java Declaration (開啟宣告檢視視窗)
Javadoc (開啟Javadoc檢視視窗)
Java Members (開啟類別成員檢視視窗)
Java Package Explorer (開啟套件瀏覽器)Alt+Shift+Q,P <In Windows>
Java Packages (開啟Java套件檢視視窗)
Java Projects (開啟Java專案檢視視窗)
Java Type Hierarchy (開啟類別階層檢視視窗)Alt+Shift+Q,T <In Windows>
Java Types (開啟Java類別檢視視窗)
JUnit (開啟JUnit檢視視窗)
Memory (開啟除錯-記憶體檢視視窗)
Navigator (開啟導覽器)
Outline (開啟概要檢視視窗) Alt+Shift+Q,O <In Windows>
Plug-in Dependencies (開啟Plug-in Dependencies檢視視窗)
Plug-in Registry (開啟Plug-in Registry檢視視窗)
Plug-ins (開啟Plug-ins檢視視窗)
Problems (開啟問題檢視視窗) : Alt+Shift+Q,X <In Windows>
Progress (開啟執行進度檢視視窗)
Properties (org.eclipse.ui.views.Property/Sheet) (開啟屬性檢視視窗)
Registers (開啟除錯-暫存器檢視視窗)
Search (開啟搜索檢視視窗) : Alt+Shift+Q,S <In Windows>
Synchronize (開啟同步化檢視視窗) : Alt+Shift+Q,Y <In Windows>
Tasks (開啟作業檢視視窗)
Threads and Monitors (開啟除錯-執行緒檢視視窗)
Variables (開啟除錯-變數檢視視窗)

◎補充:Views 檢視視窗的開啟處:
Window->Show View->Other。

Window - 視窗
Activate Editor (啟動編輯器) : F12 <In Windows>
Close All Perspectives (關閉全部視景)
Close Perspective (關閉視景)
Customize Perspective (自訂視景)
Hide Editors (隱藏編輯器)
Lock the Toolbars (鎖定工具列)
Maximize Active View or Editor (編輯區最大化) Ctrl+M <In Windows>
Next Editor (切換至下一個編輯器) : Ctrl+F6 <In Windows>
Next Perspective (切換至下一個視景) : Ctrl+F8 <In Windows>
Next View (切換至下一個視圖) : Ctrl+F7 <In Windows>
Open Editor Drop Down (以浮動的方式在編輯區,顯示快速切換編輯器功能表) : Ctrl+E <In Windows>
Pin Editor (固定編輯器)
Preferences (開啟偏愛設定)
Previous Editor (切換至上一個編輯器) : Ctrl+Shift+F6 <In Windows>
Previous Perspective (切換至上一個視景) : Ctrl+Shift+F8 <In Windows>
Previous View (切換至上一個視圖) : Ctrl+Shift+F7 <In Windows>
Reset Perspective (重新設定視景)
Save Perspective As (儲存為新視景)
Show Ruler Context Menu (顯示尺規的內容功能表) : Ctrl+F10 <Editing Text>
Show Selected Element Only (僅顯示所選元素的程式碼)
Show System Menu (顯示系統功能表) : Alt+- <In Windows>
Show View Menu (顯示視圖功能表) : Ctrl+F10 <In Windows>
Switch to Editor (切換至編輯器) : Ctrl+Shift+E <In Windows>

--------------------------------------------------------------------------------------------------------------
◎關於轉貼:
歡迎轉貼此文,但請註明作者以及來源:JavaWorld@Taiwan,感恩!


sungo edited on 2004-06-18 00:22
reply to postreply to post
作者 Re:[分享] Eclipse 3.0 RC2 熱鍵表 (中英對照解說版,Default) [Re:sungo]
zhshfeng_xx





發文: 301
積分: 3
於 2004-06-17 00:38 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
感谢 SUNGO贡献了这么好的文章,不愧为精华,在cjsdn上给出这篇文章的转贴,不知道sungo同意不同意啊

reply to postreply to post
作者 Re:[分享] Eclipse 3.0 RC2 熱鍵表 (中英對照解說版,Default) [Re:zhshfeng_xx]
sungo

瘋狂口罩大盜



發文: 822
積分: 17
於 2004-06-17 05:30 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
zhshfeng_xx wrote:
感谢 SUNGO贡献了这么好的文章,不愧为精华,在cjsdn上给出这篇文章的转贴,不知道sungo同意不同意啊

沒問題!歡迎轉貼zhshfeng_xx兄轉貼!只要註明出處是JavaWorld@Taiwan即可。


reply to postreply to post
作者 Re:[分享] Eclipse 3.0 RC2 熱鍵表 (中英對照解說版,Default) [Re:sungo]
T55555

Java, Ruby, Haskell

版主

發文: 1023
積分: 24
於 2004-06-17 07:33 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
真的是美好的第一次. Thumbs upThumbs up

reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
reggie

Java Life



發文: 238
積分: 1
於 2004-06-18 01:43 user profilesend a private message to usersend email to reggiereply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Sungo兄熱心又用心....給你拍拍手!!

reply to postreply to post
愈來愈喜歡吃蘋果了
作者 Re:[分享] Eclipse 3.0 RC2 熱鍵表 (中英對照解說版,Default) [Re:sungo]
zhshfeng_xx





發文: 301
積分: 3
於 2004-06-18 17:13 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
sungo wrote:
沒問題!歡迎轉貼zhshfeng_xx兄轉貼!只要註明出處是JavaWorld@Taiwan即可。

sungo兄,已经在cjsdn上把贵贴给转贴,并将繁体转为简体,将颜色进行了一点变化,改变了一些使用大陆的用语。
感觉这么长的文章, 仅排版就要花费长的时间,还要加注颜色标记,sungo兄一定花费了很长的时间吧,可以查看一下修改后的样子:

http://www.cjsdn.com/post/view?bid=7&id=98239&sty=1&tpg=1&age=0

给个建议。Tongue


zhshfeng_xx edited on 2004-06-18 22:49
reply to postreply to post
作者 Re:[分享] Eclipse 3.0 RC2 熱鍵表 (中英對照解說版,Default) [Re:zhshfeng_xx]
sungo

瘋狂口罩大盜



發文: 822
積分: 17
於 2004-06-18 17:42 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
zhshfeng_xx wrote:
sungo兄,已经在cjsdn上把贵贴给转贴,并将繁体转为简体,将颜色进行了一点变化,改变了一些使我大陆的称谓。
感觉这么长的文章, 仅排版就要花费长的时间,还要加注颜色标记,sungo兄一定花费了很长的时间吧,可以查看一下修改后的样子:

http://www.cjsdn.com/post/view?bid=7&id=98239&sty=1&tpg=1&age=0

给个建议。:P

zhshfeng_xx兄真是太熱心了,還把它重新排版、改成大陸用語,這樣
大陸的朋友會比較好閱讀,真是功德一件呀!呵呵...

CJSDN所貼的內文部分:给所有在看这篇文章的朋友。
原本那段是要給這裡的朋友看的,那部分你可以刪除沒關係,或者你也可以
把它改成你要對CJSDN版友說的話。文章最後處的JavaWorld@Taiwan連結
失效,URL部分可能打錯嚕。

當時我編打這個表時,除了排版外,還要把Eclipse 3.0 RC2所有功
能都Run過一遍,並配合原文作最適當的解釋,的確花了蠻長的時
間。zhshfeng_xx兄用大陸用語重新將本文編寫一次,想必也花了不
少時間與精神....辛苦啦!


sungo edited on 2004-06-18 17:46
reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
seawr





發文: 36
積分: 0
於 2004-07-11 01:28 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
does someone really try the shortcut in "Window - 視窗
"? I seems doesn't work for me. any idea?


reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:seawr]
anthonychen

外線交給我

版主

發文: 2033
積分: 8
於 2004-07-11 03:04 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
The "Windows" shortcuts work fine in my eclipse v3.0 final edition.
Which version of eclipse do you use?


reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
albertfang





發文: 1
積分: 0
於 2004-07-19 23:33 user profilesend a private message to usersend email to albertfangreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
I am using MyEclipse plugin into Eclipse 3.0 final to develop j2ee application. Becauce Crtl+space is already used to bring up Chinese, Alt+/ is instead used to bring up Content Assist. It works fine in java programs, but not in JSP editor. Both Crtl+space adn Alt+/ are used to bring up Content Assist, I can not input Chinese now. The same situation happened if I use Lomboz plugin. Are there any alternatives ? Thanks!!!

Best regards,

Albert Fang


reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
airskys





發文: 12
積分: 0
於 2004-07-28 19:05 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我要把主要打印出来
贴到我的显示器旁边


reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
stupidwang





發文: 6
積分: 0
於 2004-10-13 06:33 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
sungo大大真是太厲害了
大感謝....有這些熱鍵
新手也不用愁了


reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
alexlex





發文: 28
積分: 0
於 2004-10-20 00:54 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
附上pdf版~.~Blush

Eclipse 3_0_shortcuts.pdf (34.78k)


reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
ronron1104





發文: 2
積分: 0
於 2005-01-27 08:43 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
太棒了 對我這種懶人 真的很有用 呵呵 謝謝啦

reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
sierra





發文: 2
積分: 0
於 2005-04-19 02:11 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
請問一下,eclipse2的run as application可以設成熱鍵嗎 我不是指Ctrl+F11
而是像editplus的Ctrl +1>>編譯 Ctrl+2>>執行 可以在edit完程式碼後
直接執行的熱鍵
謝謝


reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sierra]
sungo

瘋狂口罩大盜



發文: 822
積分: 17
於 2005-04-20 07:21 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Run/Debug Run Java Application Alt+Shift+X,J In Windows (3.1M6)
舊版的3.0沒有。


reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
unidows





發文: 7
積分: 0
於 2005-08-07 00:53 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
好的谢谢了!!

reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
jiangshachina

Hi, Java!



發文: 565
積分: 1
於 2005-09-11 17:17 user profilesend a private message to usersend email to jiangshachinareply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
果然好啊!!!
不过想问个题外话,“大大”是什么意思啊?第一次到台湾的论坛,是本土方言吗?:)


reply to postreply to post
a cup of Java, cheers!
同是Java爱好者,相逢何必曾相识!
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
Julian_Wang





發文: 1
積分: 0
於 2005-09-12 23:10 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
敬稱前輩先進的網路黑話 Smile

reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:Julian_Wang]
hkdennis2k





發文: 1926
積分: 6
於 2005-09-12 23:20 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
3.1 版, 按 Ctrl+Alt+L 會直接吧可用的 熱鍵顯示出來

reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
flowerknight

神木.巴顿



發文: 91
積分: 2
於 2005-10-12 18:06 user profilesend a private message to usersend email to flowerknightreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
to sungo:
ctrl-shift-f 是对java源文件编码风格的自动排版键。
请问有没有快捷键可以对整个project的java文件做风格排版?

是这样的:
我们的一个project的IDE打算从eclipse从2.1升级到3.1时,即使在eclipse3.1中对代码风格选择“Eclipse 2.1 [build in]”,java程序自动排版后的代码风格与Eclipse2.1的排版风格多少会有差异。这样直接导致,在vss或cvs上比对历史代码时,会有大片的差异标示,这样不容易看出,那些是程式变动,那些是排版变动。

于是我想将整个project在eclipse3.1上全部check out出来,然后对整个项目的code style进行排版,然后再全部check in。以后程序员在eclipse3.1中check out的代码就已经是eclipse3.1排版过的了,check in后就只会体现程式的变化了。

但是我查看了eclipse3.1并没有发现如何对整个project做代码的排版,于是向您请教上面的那个问题。谢谢

哦,已经知道了。
选择PROJECT下的src目录,右健选择“source”,会有弹出菜单,有“format”和“organize import”.就可以对这个project做代码的排版了。


flowerknight edited on 2005-10-12 18:52
reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
xvi





發文: 10
積分: 0
於 2007-01-29 08:18 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
非常感謝,有快速鍵比滑鼠快多嚕

reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:jiangshachina]
BaGoods





發文: 4
積分: 0
於 2007-09-25 05:47 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
謝謝您 超棒的 讚

reply to postreply to post
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
serialeasy





發文: 13
積分: 0
於 2008-03-06 17:31 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
熱鍵是可以設置的,見Window>Preferences>General>Keys

這樣就可以不用去記那些熱鍵了


reply to postreply to post
java comm,Java USB,RXTX
rs232-rs485/rs422 converter,usb to rs232/rs485/rs422
keeping communicate fast and easy
http://www.hexin-tech.com.cn/
作者 Re:Eclipse 3.0 RC2 熱鍵表 (中英對照版,Default) [Re:sungo]
bluesnowgrass





發文: 6
積分: 0
於 2010-12-02 01:10 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
话说,楼主老大的头像真漂亮!谢谢了!想必可以好好用上了。

reply to postreply to post
我什麽都不懂
» JWorld@TW »  Java IDE » Eclipse

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8