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