与Android XML编辑器和Eclipse ...难问题,手动编辑XML [英] Problems with Android XML Editor and Eclipse...Hard to manually edit XML
问题描述
这是一个几年,因为我已经过去开发Android应用程序。从那时起,一个图形编辑器加入到Eclipse,使您可以生成XML在一个所见即所得的方式的布局(Android SDK的一部分)。我喜欢。加快东西。
It's been a few years since I have last developed android apps. Since then, a graphical editor was added to Eclipse that allows you to generate the XML for an layout in a WYSIWYG fashion (part of the android sdk). I like it. Speeds things up.
然而,这个编辑器我有一个时间编辑XML中的XML视图,而不是图形设计视图赫克。
However, with this editor I am having a heck of a time editing the xml in the "xml view" as opposed to the "graphical layout" view.
当在XML视图,我不能再使用了大量的快捷键。像CTL-C或CTL-V(剪切和粘贴),最令人沮丧的,我不能用删除键。当我进行剪切和粘贴,没有任何反应。并检查剪贴板上,我可以看到,没有被复制在首位。当击中删除键,奇怪的副作用发生。 Somtimes什么... othertimes进入小部件将被删除。我不明白。
When in the XML view, I can no longer use a lot of shortcut keys. Like ctl-c or ctl-v (cut and paste) and most frustratingly I can't use the "delete" key. When I perform a cut and paste, nothing happens. And checking the clipboard, I can see that nothing gets copied in the first place. When hitting the delete key, strange side effects happen. Somtimes nothing...othertimes enter widgets are removed. I can't figure it out.
而在XML视图,我可以用鼠标剪切和粘贴,一切都很好。我可以使用退格键删除删除键的文字。所以,我可以在那里的一切没有问题。但是...这是一个主要在背面疼痛。我一直在编程的某些方面了20年,这是很难让自己用鼠标剪切和粘贴以及诸如此类的东西。
While in the XML view, I can use the mouse to cut and paste and everything is fine. I can use the "backspace" key to remove text instead of the delete key. So I can get everything in there with no issues. But...this is a major pain in the backside. I have been programming certain ways for 20 years and it is hard to get myself to use the mouse to cut and paste and whatnot.
有没有其他人eperienced这?? 我还没有发现关于这个问题在互联网上的任何东西。
Has anyone else eperienced this?? I haven't found anything on the internet pertaining to this problem.
注:我知道我可以改变编辑器preferences在Eclipse中只使用了普通的Eclipse XML编辑器,但我失去了所见即所得的显示......这是不错的可视化
Note: I know I can change the editor preferences in Eclipse to just use the normal eclipse xml editor but I lose the WYSIWYG display...which is nice to have for visualization.
如果你已经看到了这个问题的方法或不知道来解决它......请,请,请让我知道。
If you have seen this problem or know of a way to get around it...please, please, please let me know.
我不认为它的确与众不同,但这里有我的规格。
I don't think it makes a difference, but here are my specs.
的Eclipse: 版本:4.1.0 建立ID:M20110912-1510
Eclipse: Version: 4.1.0 Build id: M20110912-1510
Android开发工具12.0.0.v201106281929-138431
Android Development Tools 12.0.0.v201106281929-138431
推荐答案
这是固定在ADT 20 preVIEW 3,今天发布。
This is fixed in ADT 20 Preview 3, released today.
<一个href="http://tools.android.com/download/adt-20-$p$pview">http://tools.android.com/download/adt-20-$p$pview
这篇关于与Android XML编辑器和Eclipse ...难问题,手动编辑XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!