Android的布局XML code完成建议不工作 [英] code completion suggestions for Android layout xml not working
问题描述
该$ Android的布局XML C $ç完成建议不朱诺工作。
The code completion suggestions for Android Layout XML is not working in Juno.
当编辑布局xml文件,不建议弹出,打控制,空间就会发出蜂鸣声。
When editing a layout xml file, no suggestions pop up and hitting Control-Space just beeps.
本使用之前我升级到朱诺工作。
This used to work before I upgraded to Juno.
Eclipse的安装细节说我有Eclipse IDE的Java开发人员1.5.2.20130211-1820和ADT 21.1.0v201302060044-569685。
Eclipse' Installation Details says I have Eclipse IDE for Java Developers 1.5.2.20130211-1820, and ADT 21.1.0v201302060044-569685.
我使用的是Mac电脑。
I'm using a mac.
帮助|检查更新说,有没有更新。
Help | Check for Updates says there are no updates.
推荐答案
我以前的解决方案是不正确的。我今天就解决绊倒了。
My prior solution is not correct. I stumbled on the solution today.
如果XML文件是只读的,那么code完成不起作用。
使文件的读/写,然后code完成的作品。
If the xml file is read only, then code completion does not work. Make the file read/write and then code completion works.
这是不是previous ADT的行为。
code完成使用甚至只能读取文件的工作,如果你保存的更改文件更改为读/写。
This is not the behavior of the previous ADT. Code completion used to work even for read only files, and if you saved a change the file was changed to read/write.
这BUG可能只适用于Mac OSX版,因为我使用Windows的人检查,他们没有这个BUG。
This BUG may only apply to Mac OSX, because I checked with someone using Windows and they do not have this BUG.
这篇关于Android的布局XML code完成建议不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!