James P.
James P.

Reputation: 19607

Eclipse - Avoid the scrolling behaviour upon closing a file

When you open a file in a project and then close it the Package Explorer will scroll to a file in another project if there is a file open there. Is there a way to stop this behaviour?

Upvotes: 4

Views: 438

Answers (1)

Spencer Uresk
Spencer Uresk

Reputation: 3710

It sounds like you have the 'Link with Editor' option toggled on. This links the Package Explorer and the editor, which can cause the behavior you are seeing.

This option shows up in the Package Explorer header area as a button with arrows pointing right and left - if you hover over it, it'll say 'Link with Editor'. Click it once to turn it off, and it should stop automatically scrolling the Package Explorer view.

Upvotes: 8

Related Questions