Josh Johnson
Josh Johnson

Reputation: 11127

Netbeans: Automatically Select Current File in Projects

How can I get Netbeans to automatically select (highlight) the currernt file in the Project window? Whenever I select a file in an editor tab I would like the project window to move to that file (expand parent packages/directories if necessary).

At work it has always done this but at home it does not. I figure there is a configuration option somewhere but I can't find it. I run the same version at home as at work (6.9) the only differences being I use Windows at work and Linux at home and my Netbeans install at work was upgraded from 6.8 while my 6.9 install at home is fresh.

Upvotes: 90

Views: 16430

Answers (1)

jaPawel
jaPawel

Reputation: 2665

Try ViewSynchronize Editor with Views (it should be selected)

Upvotes: 188

Related Questions