When choosing "Show annotation" in Eclipse I was asked if I want to use the QuickDiff feature and I said "no". Moreover, I checked "Remember my decision", and now I profoundly regret it. Now Eclipse goes to the "SVN Repository Exploring" perspective, instead of staying in the Java perspective and just show me the changes in the left vertical bar (the one with the line numbers).
Does anybody know how to re-enable QuickDiff? I went to the QuickDiff preferences page and tried to do it, but in vain.
I have an Eclipse EE Mars.2 Release (4.5.2).
If you type "diff" into the filter box of the Preferences dialog, you'll find it. In this case you also want to change the reference source to whatever version control system you are using.
Finally, a colleague helped me to find the right option. See the image.
Related
i am using an eclipse based IDE and have a library with some files that i need to make additions/changes to. what is the best way to quickly see the all the modifications of all files in a list/tab in eclipse IDE?
i know there is the useful "#TODO" tag that shows all tasks in a nice view/tab. as im using this quite heavily, i would like to have a special view/tab that just shows the modifications and separates them from the todos.
EDIT:
thx for the suggestions and the local history tipp.
sorry for not making myself clearer. ive added a screenshot.
when i add "TODO" the tasks show up in the tab marked in red - i dont mind setting manually something (like a bookmark) as im not going to make a lot of changes, but ideally they show up like the tasks or another simple overview.
It's could depend of your version control system.
For each, eclipse purpose an associated plugin with a specific view.
Instead that, you could use the History view (Team/ Show local History after a right clic on a file).
Eclipse keeps a history of your changes for a limited number of days (configured in 'Preferences > General > Workspace > Local History'). You can right click on a file and choose 'Compare With > Local History' to see the changes between revisions.
To track all your changes you need to use one of the source control systems (such as SVN, GIT, ...). Eclipse has plugins to support these systems. Once you have installed one of these you can use the 'Team' menu to commit changes and look at the history.
found it!
by clicking "window" - "Show view" - "other" one needs to select the "bookmarks". the bookmarks then show up as a tab next to tasks.
by clicking the right small arrow the bookmark view menu pops up (similiar to the screenshot above with the task menu). the bookmark view can then be configured/filtered by clicking the "Configure contents..." menu link.
I use Eclipse with egit plugin. When I click Team -> Show Annotations, it shows up nothing. But I could view annotations by going to the history and then right clicking on the desired change set.
Shouldn't the first way show annotations from the latest version of that file I am working on?
I found eclipse bug 394161 that says the show annotations functionality won't work unless you set your EGit preferences to ignore whitespace changes. You can do that by going to Window -> Preferences -> Team -> Git and checking the box that says "Ignore whitespace changes". That fixed the problem for me.
I was having the same problem and this worked for me (in two different computers):
Make sure annotations are well set up, for example, if you want to see errors on the vertical ruler, you must have that option activated. Preferences > General > Editors > Text Editors > Annotations > Errors > Show in > Vertical ruler
Make sure your project is marked as a PyDev project. Right-click on your project > PyDev > Set as PyDev Project (if you see Remove PyDev Project config it is already marked as one)
Lastly, make sure your source folder is correctly identified. Right-click on your source folder > PyDev > Set as source folder (add to PYTHONPATH)
In the last step, if you see Set as non-source folder (remove from PYTHONPATH) it is already marked as one and, in that case, this solution shouldn't work for you, but you can try to undo and redo steps 2 and 3.
I'm using Eclipse Kepler, PyDev 3.2 and EGit 3.2.
I banged my head on this for a bit today. Right-clicking a file in Project Explorer or Package Explorer, then selecting "Team" > "Show Annotations" does not work (at least in version 4.5.1). So don't do that. I found the easiest way to show annotations is just click on the vertical ruler then select "Show Annotations" from there.
By the way, the ignore whitespace bug that #Derek mentions has been fixed. From the bug ticket,
After updating to the 3.4.0.201405071430 showing the annotations worked also without setting the property "Ignore whitespace changes"
So the bug seems to be fixed.
I verified that I am not impacted by the bug in 4.5.1
This page says that I should be able to dock my perspective bar in Eclipse Juno on the left, just the way I've been doing it in Indigo, Helios and previous versions.
Except that the menu I get when I right-click on a perspective button in the perspective bar, only includes the following options:
close
show text
Has anyone else run into this -- is there something wrong with my configuration or workspace? Or is it time for me to submit a bug?
(I'm using this release: 20120614-1722 )
It seems like this feature will be implemented in M20120809-1200/4.2.1/Juno SR1. See
this comment on eclipse bug 383599.
Dock functionality is not available in Eclipse 4.2 - only in Eclipse 3.8
See comment #3 at https://bugs.eclipse.org/bugs/show_bug.cgi?id=383599#c3
I'm currently in the process of enhancing the DnD for trim elements to include the Perspective Switcher (as well as tool bars and most of the rest of the trim). Hopefully this will make it into the SR1 release in September.
Note that we won't be putting the 'Dock on Left' context menu back though since we're trying to reduce the complexity by only having one way to do things...
I wouldn't rely on the online documentation for specific information, I think large chunks of it are just copied over from previous releases into a new folder and left there.
I've been confused a few times by this fact too (in my case it was also concerning the UI configuration).
The page you supplied in your link is indeed labelled Juno (4.2) but as eugener mentioned this feature is for the 3.x (Indigo).
I wrote a new perspective for our Eclipse RCP Project, which worked fine. But because of a malconfiguration I had to revert to an earlier code-version in which this perspective didn't exist yet.
The strange thing is, that after the revert the perspective still shows up in the open perspective Dialog. The only difference is, that it is now shown in angle brackets and appears two times.
So the entries in the open perspective Dialog look like that:
---
a valid perspective
another valid perspective
<perspective that shouldn't be here>
<perspective that shouldn't be here>
yet another valid perspective
---
What do the angle brackets mean?
And how can I get rid of these entries?
Thanks a lot!
You can delete the perspective by going to Window->Preferences then select general->Perspectives.
Highlight the 'bad' perspective (the one with angle brackets) and click Delete.
Gone forever :-)
Try to delete the complete runtime workspace!
Just a wild guess, did you trying the -clean option while launching eclipse? Cached workspace entries could lead to sporadic behaviour.
I think it means the perspective had to be "recovered" in some way, so the file gets duplicated and renamed.
I had the same <> around my highly-custimozed perspective after I couldn't open my workspace due to errors about corrupted workspace. I downloaded a fresh copy of eclipse and pointed it to the old workspace, but an error box showed which explained that it couldn't find some views for the plugins that were not installed, and then I was applied the perspective without those views. The file must have been changed, because the perspective does not include them even after reinstalling the plugins, and selecting 'Reset Perspective' and such.
I often end up with lots of empty panes in Eclipse that can only be minimized but not destroyed. How do I close these?
Update:
In this screenshot you can see two minimized on the upper left and several on the right hand side. In the center are four more. They only seem to be restorable in the Debug mode.
http://img406.imageshack.us/img406/9900/eclipse1.png
this happened to me, too. What worked for me (based on FilmJ and douncon's comments) was to open a class file, then drag that tab over the top of the empty pane.
Select Window -> Reset Perspective. That should reset the current perspective (what you call "mode") to its' initial state, (hopefully) closing all irrelevant views.
Something seems terribly wrong with your Eclipse. Maybe you should reinstall it. It is possible that you installed a buggy plugin.
First of all, what do you mean by pane? Eclipse has:
Windows (Eclipse itself, e.g. instance)
Documents (tabs)
Views (properties, tasks, explorer, etc)
If by 'pane' you mean document editors, you have problems either with your Eclipse version or most likely one of the installed plugins.
Each View also can be closed (except maybe some project types (perspectives) of which I'm not aware). For CDT (C/C++) you can close practically everything.
I'll recommend you download latest Eclipse version with no plugins, extract it to different folder, and check if that happens again. If yes, please explain more in details (like Eclipse version, perspective you are using, any side plugins, etc).
Also a good places are Eclipse community forum, mailing list and bugz :-)
I had the same problem. For me it helped to go into the right perspective and activate the functionality that caused the window in the first place. Once I reactivated the functionality, in my case "QNX Memory Analysis perspective", I was able to close all the windows one by one.
The conclusion is you have to refill the empty windows with content and then you will be able to close them properly.
So, it's really very easy for this to happen, if you open an editor that's incompatible with the existing editor, you can often end up having to place it outside of the tab list in one of your editor panes, then you might clear or copy that, typically while trying to add that view to a tab list.
In any case, what it's done is create a new editor, and all you need to do is drag some file to that empty editor window giving it some form of context, then close it.
I had the same issue. I followed #zvikico, but instead of just resetting, I first reset and then closed all the perspectives. Please follow the following to fix the problem. It worked for me:
Window -> Perspective -> Reset perspective..
After resetting follow below:
Window -> Perspective -> Close All Perspectives