Undo "remember my decision" in eclipse for team synchronizing perspective - eclipse

I clicked with the rigth button of mouse in one project.
Then I clicked in the menu: Compare with --> Head Revision (using git)
Then I clicked in Remember my decision to always open team synchronizing perspective.
But I dont want to alwas open team synchronizing perspective.
How can I undo this action?

I think you are after the following preference:
To access, Window | Preferences | Team and change the Open the associated perspective when a synchronize operation completes setting to the desired value.

With in the Synchronize view, select the menu and select Preferences
In the preferences, set the highlighted setting back to prompt for being prompted before switching perspective
Click ok and you'll get what you want

Related

Eclipse Mars disable 'revert file' button

When I right click and go to save my class I have accidentally clicked this a couple of times, making it rather annoying. Is there a way I can move/disable this option?
If you are talking about the Revert menu item on the File menu, you can remove it by customizing the current perspective. To do this:
Open Window=>Perspectives=>Customize Perspective
Select Menu Visibility tab
Click the '>' in front of File
Uncheck the Revert item
Click OK

In Eclipse, how to make Flat Presentation default in the Team Perspective?

When using a centralized versioning system like CVS or SVN, I like to review my changes in the Team Synchronizing View before I commit them.
By default Eclipse collapses the source tree, and I always have to click on the little arrow in the icon "Show Java Workspace" and select the checkbox for Flat Presentation:
Is there a way to make this the default for the Synchronizing perspective?
Window > Preferences > Team > Choose the presentation to be used when displaying Workspace projects : Flat
"The same can be done for CVS in Team -> CVS -> Synchronize/Compare settings, though I haven't tested it."
Tested it for CVS. Doesn't work. Scumbag Eclipse :/
I've found a way to do that for SVN, unchecking the option Allow models to participate in synchronizations:
The same can be done for CVS in Team -> CVS -> Synchronize/Compare settings, though I haven't really tested it.
UPDATE: If that does not work on the first time, on the View Menu (activated clicking the little arrow beside the minimize button for the Synchronize panel), select Presentation -> Tree.

eclipse egit: Menu item and keyboard shortcut for Team -> Show in History

Is there a way to get the git log, ie: "Team -> Show in History" appear as a menu item on the main menu bar and to have a shortcut for it?
I'd like this menu item/shortcut to work when selecting a project or project resource in Package Explorer.
You could use Shift+Alt+W (that brings up the Show In submenu) and then press H to activate the History entry.
Otherwise, you can also consider linking the History view to the selection by activating the toolbar icon with the two arrows in the History view.
The command "Team -> Show History" cannot be processed unless it's associated with a module or a folder.
That's why it's a right click menu option.
You should be able to bind the Show In (History) command to a key in the Preferences>General>Keys page. You have to select something before you execute it (like a git repo or a project in the explorer).

How to arrange windows in Eclipse back into default state?

Is there a function that would arrange windows in Eclipse into state that was previously saved?
I always resize windows (Package Explorer, panels with views etc.) based on current needs and then I have to put it back.
Maximizing and minimizing is great but this would be really a killer feature. A click to arrange windows to the desired state would be perfect
You can save your Perspective how you like it and then when that Perspective gets loaded it will come back to the saved state:
Window > Save Perspective As...
To reset:
Window > Reset Perspective...
Click on windows > Perspective > Reset Perspective
Open new window it will set a default view for eclipse
window->new window

Eclipse: How do I refresh an entire workspace? F5 doesn't do it

I have a workspace with a bunch of java projects. If I go to File->Refresh, it doesn't really refresh anything (perhaps the currently selected project). How do I get eclipse to refresh all of the projects?
It will indeed only refresh the current project (or, more specifically, the current selection in the project explorer). I just click somewhere in the project explorer, do Ctrl+A to select all projects and then press F5 to achieve a complete refresh.
If you want to refresh all Projects, ignoring closed projects, then the easiest way is to:
ctrl-click and item in the Project Explorer (to ensure the P. Explorer has focus)
ctrl-click the item again so that it's no longer highlighted (but the P. Explorer still has focus)
F5 will now Refresh the entire workspace
Effectively F5 refreshes the Workspace when a navigation view has focus and nothing is selected.
Ctrl-A, then F5.
You can set up the workspace to automatically refresh when it detects changes in the preferences. (Window > Preferences > General > Workspace > Refresh Automatically)
Easy.
Create an external tool: Run > External Tools > External Tools
Configuration...
Create a new Program configuration Point the location to an exe that is very fast (I use Cygwin's 'ls')
On the Refresh tab, choose Refresh Resources upon completion, The Entire Workspace
On the Build tab, deselect Build before launch
Run the tool to refresh all projects.
Control click all your projects together, then right click and hit refresh.
Usually I refresh all like that, then i make sure to clean all projects and rebuild in eclipse.
For anyone curious how to select all of those projects on OS X where Ctrl+A doesn't work:
Click the first project
Hold down Shift
Hold the ↓ key until they are all selected
Now press F5
This answer led me to an even simpler solution, no configuration necessary.
Cmd-3 build all (control-3 on windows)
Edit: Correction -- I need to both refresh and build. Build does not automatically refresh. I'm currently using two actions, "echo" from my comment in the linked answer I just referred to (an External Tool configuration with a hook to refresh all), followed by cmd-3 "build all"