English 中文(简体)
Eclipse开辟了不同于编辑的另一种来源档案
原标题:Eclipse opens different source file than the editable one

当我申请ec时,如果一个例外被推倒,并在奥索尔显示,那么你就能够点击把你带往源码档案的链接。

问题在于,当我点击这些连接作为外部不容争辩的资源打开时(编辑表格中有不同的一线), Java来源档案有蓝色J,但这些档案有空,只显示边界。 在分解时,所开启的档案与所编辑的表格不相同。

欲了解更多信息,而普通来源档案在标题中显示的是:

project/path/to/source/file.java

其他人则展示了其全部道路:

C:absolutpath	osourcefile.java

这一点令人痛心,因为我不得不从一个回头到另一个,我对改变这种状况或改变其发生的原因没有任何想法(这是很早的)。

Any hints on how to edit this? Thanks

最佳回答

这是一个阶级问题。 当你点击时,你实际上正在从小区查阅档案。

为了查阅 Java案,你必须提及你在班次中的项目,并将其移至班次名单的前列。

问题回答

您还可以尝试将其转换成项目面目java版本,正确点击项目--> 财产与工程; 选择项目面貌——和项目;java 1.7或[资料来源]。 适用。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签