open content in already open tab

Originator:omich
Number:rdar://36867644 Date Originated:25-Jan-2018 04:30 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:9.2
Classification:UI/Usability Reproducible:Always
 
Summary:
The multiple tabs in Xcode nicely support the notion of looking at different code/assets/editors at the same time. Sadly opening files from the navigator will always open the content in the current tab even if another tab has this file already open.
Safari is more intuitive here because it switches to that tab. That leaves the previous tab alive, giving a better overview and the chance to switch easily between multiple files.
In contrast Xcode’s implementation often ends up in multiple tabs having the same file open - forcing the user to close/go back within the tab.

Steps to Reproduce:
- open fileA.swift in tab #1
- open another tab #2 and open fileB.swift there
- click on fileA.swift in the navigator

Expected Results:
- Xcode switches focus to tab #1
- tab #1 shows fileA.swift, tab #2 shows fileB.swift

Actual Results:
- Xcode open fileA.swift in tab #2
- tab #1 shows fileA.swift *AND* tab #2 shows fileA.swift
(- complicated way to see fileB.swift again)

Version:
9.2

Notes:
Safari in comparison has the more intuitive and helpful approach where it detects wether an URL is already open in a tab and switches to it.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!