Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Eclipse: sychronizing editor with package explorer

Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Eclipse, I have several Java files open. So in the editor there is one tab for each file that I have open. When I click one of those tabs, it brings up the file that I want to edit, but I expected the package explorer to also highlight that file. I know that I can right-click in the editor and then choose "Show in package explorer", but is there any way to get that behavior automatically? When I click on a tab to bring up a different file in the editor, is there any way for the package explorer to automatically highlight that file?
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your wish has been well heard by great Eclipse developers. The very same feature is already there.

In the package explorer top right corner you will see a icon shown below, just click that. It will ensure to highlight current editor file.

Icon looks like this:
<---<br /> --->
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic