When you have multiple files open for editing, you can configure the Navigator view to automatically bring an open file to the foreground (make its editor session the active editor) every time you select that open file in the Navigator view. There are two ways to set this
on the Navigator bar.
Opening files for editing
Associating editors with file types