ADT的Eclipse XML布局的文本编辑器 - 经常被打破,直到文件关闭并重新打开 [英] ADT eclipse xml layout text editor - often broken until file closed and reopened

查看:198
本文介绍了ADT的Eclipse XML布局的文本编辑器 - 经常被打破,直到文件关闭并重新打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/10030727/moving-and-vanishing-lines-of-$c$c-trouble-with-eclipses-xml-editor">Moving和消失的code线;与Eclipse的XML编辑器麻烦

Possible Duplicate:
Moving and vanishing lines of code; trouble with Eclipse's XML Editor

我是新来的Eclipse和ADT,但已经建立了我的环境在两个不同的机器,并且都显示相同的怪事(两者都是Windows 7 64位)。

I'm new to Eclipse and ADT but have set up my environment on two different machines, and both are displaying the same oddities (both are Windows 7 64 bit).

在更改图形布局和main.xml中视图之间的选项卡中,code在main.xml中视图中的生产线将开始逐渐消失或走动。很难显示这种没有视频或动画GIF,但我会尝试与这些截图:

When changing tabs between the graphical layout and the main.xml views, the lines of code in the main.xml view will start disappearing or moving around. It's hard to display this without a video or animated gif, but I'll attempt with these screenshots:

请注意,所有我所做的就是突出显示文本块,突然所有的这些文物SHWO起来。这使得开发较愉快的少一点。

Note that all I've done is highlight a block of text, and suddenly all these artifacts shwo up. It makes development a bit less than pleasant.

有什么想法?请帮我解决这个问题。

Any thoughts? Please Help me to solve this problem.

图片:

IMAGE2

推荐答案

FOUND一个简单的方法来禁用BUG! (解决方法)

窗口> preferences>安卓>编辑>取消选中使用标准格式的XML文件...(第一选项)

Window > Preferences > Android > Editors > Untick "Format XML files using the standard..." (1st option)

然后,就做 按Ctrl + Shift + F 以自动格式的XML到Eclipse内置约定。你不应该得到错误的。

这篇关于ADT的Eclipse XML布局的文本编辑器 - 经常被打破,直到文件关闭并重新打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆