我的eclipse ide很奇怪:即使在我修改之后它也会抱怨一些源错误,我必须切断整个编译单元并再次粘贴。并且,当我切断源文件时,我必须切断两次:ctrl-A,ctrl-X(内容仍在那里),ctrl-A,ctrl-X,ctrl-V。这个问题发生在我的两个linux盒子上。
我应该怎么做才能解决它?
补充
我的盒子:debian挤压。
的.classpath:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="class" path="source"/>
<classpathentry kind="var" path="JRE_LIB" sourcepath="JRE_SRC"/>
<classpathentry kind="con" path="/home/foo/big/build/class"/>
<classpathentry kind="con" path="/home/foo/big/test/class"/>
<classpathentry kind="lib" path="/home/foo/big/build/jar/big.jar"/>
<classpathentry kind="lib" path="/home/foo/big/library/testng-6.3.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
的.project:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>big</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<linkedResources>
<link>
<name>class</name>
<type>2</type>
<location>/home/foo/big/build/class</location>
</link>
<link>
<name>source</name>
<type>2</type>
<location>/home/foo/big/source</location>
</link>
</linkedResources>
</projectDescription>