You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the mergeInto method of NavigationHistoryEntry, it checks if the EditorInput equals the EditorInput of the currentEntry parameter, and merges the NavigationHistoryEntries if so.
However, in our use case, we have two different editors whose EditorInputs are FileEditorInputs, and they can be editors for the same file. The equals method in FileEditorInputs returns true if the two FileEditorInputs are associated with the same underlying file.
Therefore, the NavigationHistoryEntries are merged together if the user navigates between two editors which edit the same underlying file, even though these two editors are very different editors, and should be treated as different editors for navigation purposes.