用Eclipse編輯AndroidXML檔案,配置自動提示。

來源:互聯網
上載者:User

標籤:android   blog   http   io   ar   sp   on   檔案   art   

用Eclipse編輯AndroidXML檔案,配置自動提示。 - 好代碼編程網

在Eclipse下開發Android應用時,避免不了編輯xml檔案,如layout、string、drawable等等。

Android xml體系龐大,很多開發人員都是記者標籤的關鍵字,所以在編輯xml檔案時自動提示必不可少。但是很多人遇到在Eclipse中編輯xml沒有自動提示的問題。按快速鍵也不成。

下面介紹一下在Eclipse的Editor下為Android xml編輯配置自動提示的方法。

 

首先說明我的Eclipse是在android 官網上下載的Android ADT Bundle 當然,此方法同樣適用於普通的Eclipse。

:http://developer.android.com/sdk/index.html

 

依次開啟:Window > Preferences > Xml > Editor > Content Assist > Auto activation > Prompt when these characters are inserted

編輯框中文本為:<=:.abcdefghijklmnopqrstuvwxyzQWERTYUIOPASDFGHJKLZXCVBNM(,

搞定。

 

用Eclipse編輯AndroidXML檔案,配置自動提示。

聯繫我們

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