这是因为Eclipse中的"Show Source of Selected Element Only"功能引发的,
定位到:
Window->Customize Perspective->Tool Bar Visibility->Editor Presentation
展开Editor Presentation,找到Show Source of Selected Element Only,将其勾选,
这样在工具栏的快捷处就会出现这个功能的图标,若是这个图标是凹下去的,点击一下,
使其不被使用便可;
胸围 也可在工具栏快捷的空白处鼠标右键->Customize Perspective->Tool Bar Visibility... 这样找到Show Source of Selected Element Only选项;