您的位置:首页 > 移动开发 > Android开发

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

2013-04-11 09:46 567 查看
主要解决方法如下:

一、 java文件代码提示

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

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

如图所示:



3. 点击”OK”即可

二、xml文件代码提示
1. 打开Eclipse -> Window -> Preferences -> XML -> XML Files -> Editor -> Content Asisit

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

如图所示:



3. 点击”OK”即可

原文链接:http://www.carymic.com/restore-eclipse-android-code-automatically-prompts/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: