【转】Eclipse Android开发代码自动提示功能

主要解决方法如下:

一、 java文件代码提示

1. 打开Eclipse -> Window -> Preferences -> Java -> Editor -> Content Assist

2. 开启 “Enable auto activation”(要是之前处于未开启状态下的话), 同时”Autoactivation triggers for java”选项中填入 .abcdefghijklmnopqrstuvwxyz(,

如图所示:

Eclipse Android开发代码自动提示功能 - duanwenfeng1989 - 文峰峰的博客

3. 点击”OK”即可

 

二、xml文件代码提示

1. 打开Eclipse -> Window -> Preferences -> XML -> XML Files -> Editor -> Content Asisit

2. 开启 “Automatically make suggestions”(要是之前处于未开启状态下的话), 同时”Prompt when these characters are inserted”选项中填入 <=:.abcdefghijklmnopqrstuvwxyz(,

如图所示:

Eclipse Android开发代码自动提示功能 - duanwenfeng1989 - 文峰峰的博客

3. 点击”OK”即可

  

原文链接:http://www.carymic.com/restore-eclipse-android-code-automatically-prompts/

 

posted @ 2013-04-11 09:46  沉默的猿  阅读(227)  评论(0)    收藏  举报
AmazingCounters.com
给我写信