Community
Participate
Working Groups
Created attachment 287226 [details] screenshot In my history view, "Link with editor and Selection" has always been enabled, and it used to work for repository, file and editor selections. Today I noticed for the first time that this now also reacts to selecting a method/field in the java outline view. Unfortunately that always produces an empty history. For reproduction you may need to select different methods multiple times, it seems the history always shows the previously selected method. I'm not sure when exactly that changed and whether that is egit or platform. See attached screenshot
It was always in the platform, but it got worse with egit 4.13 or 4.12, because egit stopped to show history for the editor. Previously, history was "restored" after editor -> outline -> editor selection. Now you have to find the edited file in some navigator to get the history back - *that* is annoying.
I presume you mean 5.12/5.13. Cannot reproduce; editor->outline->editor properly shows the file history again.
Of course, I'm on OS X. Perhaps it depends on the OS.
(In reply to Thomas Wolf from comment #2) > I presume you mean 5.12/5.13. Cannot reproduce; editor->outline->editor > properly shows the file history again. That's interesting. I saw this behavior yesterday last time, now tried to reproduce - no way. I swear, I was really angry because of this. Anyway, the other thing with "local history for selected method" is annoying as well. I wonder if that should be disabled by default if there is a team provider for given editor, but I have no idea where that is configured. Most likely in platform, not egit, except egit misses to contribute to some extension point.
(In reply to Andrey Loskutov from comment #4) > Anyway, the other thing with "local history for selected method" is annoying > as well. I wonder if that should be disabled by default if there is a team > provider for given editor, but I have no idea where that is configured. Most > likely in platform, not egit, except egit misses to contribute to some > extension point. I'm not sure it's related to team providers at all. The "not found" message refers to "local history". It means there is no local history for that file. Edit a method, save, then go to the outline view again. Now it'll show a datetime, and there's a compare action.
(In reply to Thomas Wolf from comment #5) > (In reply to Andrey Loskutov from comment #4) > > Anyway, the other thing with "local history for selected method" is annoying > > as well. I wonder if that should be disabled by default if there is a team > > provider for given editor, but I have no idea where that is configured. Most > > likely in platform, not egit, except egit misses to contribute to some > > extension point. > > I'm not sure it's related to team providers at all. The "not found" message > refers to "local history". It means there is no local history for that file. > Edit a method, save, then go to the outline view again. Now it'll show a > datetime, and there's a compare action. Anyway, then it should go to platform resources or platfrom team (?) and that "feature" should be disabled by default if a team provider is installed, or via preference. I've never had any use for this, and with "right" team providers the switching off "right" history is a constant pain.