This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action 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 ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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 /> --->
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!