Prevent duplicate tabs in Xcode editor In Xcode editor, is there a way to open files in a new tab only if one is not already present, and if it is, then switch to that tab. If it isn't possible to do so via the preference settings, can it be done via script?
There is no way in Xcode (both natively or via any preference) to switch to the tab with the file already open (when attempting to open a file from another tab/window).

This seems appropriate, as many a times a file may be required to be open in multiple tabs/windows. Also, alongside the assistant editor feature of Xcode, having such a feature may not be practical/desirable.