Eclipse > Java > open linked resources sources (.java instead of .class )?

前端 未结 4 2043
暗喜
暗喜 2020-12-03 22:35

I have 2 projects, A and B

project B have in his build path > libraries the class folder of A (Eclipse also recognized that there is a \"Source attachment\" and adde

4条回答
  •  旧巷少年郎
    2020-12-03 23:14

    Go to Project->Properties->Java Build Path.

    In Order and Export keep all the src files on top and selected.

    Eclipse will now pick .java over .class files

提交回复
热议问题