eclipse常用設定

來源:互聯網
上載者:User

標籤:android   style   blog   http   color   ar   使用   sp   java   

我們在開發android的時候可能需要設定eclipse的代碼自動提示,背景顏色,字型大小,各種快速鍵等;在這簡單總結一下,希望能幫到大家:

1.設定java字碼頁:

(1)代碼自動提示:Windows——Preferences——Java——Editor——Content Assist

修改為這個字元就可以了.abcdefghijklmnopqrstuvwxyz

(2)設定行號 Windows——Preferences----Editors---Text  Editors

(3) 設定背景顏色 Windows——Preferences----Editors---Text  Editors

 (4).設定字型大小Windows——Preferences----Color  and  Fonts

2 xml頁設定:

(1)代碼自動提示 Windows——Preferences----XML----XML Files -- Editor---Content Assist

改為這句代碼  .abcdefghijklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZ(,

(2)xml頁面字型大小window--preferences--General--appearance--colors and
fonts--Basic-- "Text font "  

下面是幾個最常用的快速鍵:

Ctrl+Shift+F   代碼自動格式Ctrl+\             取消注釋Ctrl+/             注釋Ctrl+Shift+M   添加匯入Shift +Alt+j    代碼多行注釋調試 運行F7             單步返回F6             單步跳過F5             單步跳入 Ctrl+F5        單步跳入選擇F11            調試上次啟動F8             繼續Shift+F5       使用過濾器逐步執行Ctrl+Shift+B   添加/去除斷點Ctrl+D         顯示Ctrl+F11       運行上次啟動 Ctrl+R         運行至行Ctrl+U         執行  

 

eclipse常用設定

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.