The Author column in the CVS history disappeared from Eclipse - eclipse

It happened since yesterday that the Author column in the CVS history disappeared in my Eclipse IDE. I have gone through all the menus in Eclipse and all kinds of Google search but couldn't figured out how to add it back. Does anyone have a clue on it?
I am using the latest Eclipse (Helios) on 64-bit Windows 7. I used the following steps to show CVS history: right click the file name under Project Explorer => Team => Show History.
Thanks!

This happened in my eclipse as well. Unfortunately the other answers did not help me but I was able to fix it by manually editing the cvs plugins stored preference.
Close Eclipse.
Go to the path $WORKSPACE/.metadata/.plugins/org.eclipse.team.cvs.ui in your filesystem. Where $WORKSPACE is the directory that has your Eclipse workspace.
Edit the file dialog_settings.xml in that directory.
You should see an item element with the attribute key="COL_AUTHOR" change the value attribute to be non-zero (I set mine to 100). Specifically, the Xpath for the attribute your trying to change is //section[#name="org.eclipse.team.internal.ccvs.ui.CVSHistoryTableProvider"]/item[#key="COL_AUTHOR"]/#value
Start up Eclipse and the problem should be fixed.

This happened to me as well. It turns out that the author column can be completely collapsed in between the 'Revision Time' column and the 'Comment' column. I had to carefully put my mouse cursor on the right side of the divider between the two columns and drag to the right, in effect resizing the author column to not have 0 width. The UI then exposes the author column, which should always be there if the Revision and Comment columns are present.

I have changed my eclipse environment, so have no way to go back to the old one to confirm that. But thanks for the help, and I will keep it in my mind in future.

Related

sorting files by date in project explorer in eclipse juno

Is it possible to show files in package explorer in the order of date they were created? I am using eclipse juno and I couldn't find any customize option in view menu of the project..
Currently the package explorer shows items in alphabetic order which cause me to search through the files to find the last modified project or java file. Can someone help?
I'd comment if I could to ask for clarification but don't have enough points...
I assume you don't have a team repository or you would have enabled its label decorations, which I know is available in svn. Label decorations will show the team metadata associated with the files. It won't have them sorted but with a small set, you can scan them manually.
In order for this to be useful with a large set, the sort would have to be across all folders/packages. You could open up file explorer(assuming windows os), to the project folder, perform a search with filter of 'datemodified:'. Now you may have to remove the semi-colon and add it again, hit enter. That would sort the folders by date, then the files by date..across all folders.
Its ugly but it works (as far as I understand the question). Good luck.

Aptana File Diff?

Does Aptana have a file diff tool? Given it's a fairly standard dev requirement, I'm surprised there isn't one embedded in the IDE already. Does anyone have a good solution to this?
I haven't had much experience with eclipse but seeing that Aptana is built as an Eclipse plugin, would other Eclipse plugins be compatible?
Thanks!
--- Answer: (because it won't let me answer my own question for 8 hours) ---
Annnnnnnnd wouldn't you know it, after months of ruing the lack of file diff every time the need has arisen, I've just found the functionality within Aptana.
Select 2 files in the various file lists within Aptana via CTRL+left click (i.e. the Project Explorer or Navigator panes)
right click on the highlighted file you want to appear on the left of the diff screen and chose the 'Compare With' -> 'Each Other' option.
I just updated Aptana to the newest release today so I'm not sure if it's a new addition but I'd be willing to bet that it's been there for a long time and I am just a nonce.
Ta for clicking on my question anyway. :)
Aptana does have file diff. It is under Compare With item when you right click a file in your project. Select two files and use Compare With > Each Other to see the diff between two local files. You can also compare your files with remote sources if you use synchronization or source control.
In case someone ran to the same situation as mine.
I can't seem to compare a file from the Local Filesystem folder and the project folder.
What I did is select both files under the Filesystem folder.

Subclipse (SVN) Compare showing similar files

It seems whenever I compare via the SVN Repository explorer (most recently after a merge) subclipse will show a few files in the compare window that have no differences whatsoever. Double clicking the file brings up the Java Source Compare window, but Subclipse highlights no sections and shows no differences. A manual inspection of the file shows they are identical. What causes this? Are there any ways to disable it, it can be quite confusing?
Your help is greatly appreciated!
Sounds like it could be whitespace-related. Maybe tortoise defaults to ignoring ws changes.
Seems to be Eclipse bug, which waits for solution...
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318826
There may not be structural change, but only space related or formatting. Try clicking on "next difference".
I think the problem is that after merging the revision of the file is changed. So, although the content of files is the same, the compare view shows the change. It is very very bad... :(

How do I delete an Eclipse perspective for a plugin I uninstalled?

I was evaluating the Enterprise IDE plugin for Eclipse, and ultimately decided not to purchase it. After I uninstalled the plugin, I was left with a bunch of perspective buttons (the ones in the far upper-right-hand corner) which I can't remove. How do I get rid of the manually, without nuking my workspace?
Edit: To be clear, right-clicking and going to "close" does nothing. Not even an error message.
Click Window ► Preferences ► General ► Perspectives. Select the perspective you want to delete and remove it. Some of them are unremovable. I don't know why.
How did you uninstall that plugin ?
As Daniel details in his answer, Help-> Install new software -> click on "Whats already installed?" is the right way to uninstall a plugin, and should get rid of the perspective as well.
If the plugin was installed in the dropins directory or in <eclipse>/plugins and <eclipse>/features, did you delete all directories/jar in <eclipse>/features, because if that plugin was packaged as a product, it did define in the product extension point a plugin_customization.ini which can indicate some perspective buttons.
If not, the only solution is to have a careful look at your workspace metadata, look for all recent file related to that plugin and remove them.
Make a copy of your workspace first though.
As an example of such a careful look at your workspace metadata", user900975 points out in his answer the <your workspace folder>/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml file, with <perspectives> element and <perspective> child elements that you can remove.
Note: Eightball mentions in his answer (upvoted) the possibility to list and delete a perspective.
Since he mentions "Some of them are un-removable. I don,t know why", my original answer above still stands.
Alexandros adds in the comments:
This helped me fix this, but in my case the file I had to edit while Eclipse was closed was:
.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi
I was suffering the same problem with a left-over perspective button for SVN repository Exploring. It wouldn't disappear using the close option. However it did disappear after selecting from Window -> Close All Perspectives.
Regards,
<your workspace folder>/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml contains a <perspectives> element with <perspective> child elements. You can delete <perspective> elements and they will no longer appear in the toolbar. Eclipse writes to this file when it exits so your changes will be overwritten if you don't quit Eclipse first.
If you installed a plugin, click Help ► Install new software, then click What's already installed? in the bottom right. Uninstall what you want, the perspective will be removed as well.
You could also try launching Eclipse with the -clean command line argument. This cleans out the Eclipse runtime cache, so it might fix your problem as well.
I had the same problem after installing a plugin. The answer is quite simple, if not obvious.
Open Window | Preferences
Click General node
Click Perspectives
Find the perspective in the list and then select Delete command on the right.
The list will refresh and your perspective is deleted.

Eclipse Search Menus disabled randomly

I use Eclipse 3.3 in my daily work, and have also used Eclipse 3.2 extensively as well. In both versions, sometimes the Search options (Java Search, File Search, etc) in the menu get disabled, seemingly at random times. However, with Ctrl+H, I am able to access the search functionality. Does anyone know why this happens? Has it been fixed in Eclipse 3.4?
window > close all perspective works for me.
Using Eclipse 4.3(!) this happened to me after doing a case-sensitive search.
Window -> Close All Perspectives didn't fix it and neither did restarting Eclipse using -clean. While messing with the search box, I discovered that simply clicking to a previous search entry allowed me to edit it and search again! Clicking back to the case-sensitive search grayed the option out again.
So before you reset anything in your workspace, try pulling up an older search entry using the Down Arrow.
I think this answer is what you all need to solve the issue on all versions.
I am using RAD 8 and I have also faced this problem than I removed org.eclipse.search directory in (workspace currently using) workspace/metadata/plugins folder then restart the eclipse.
That's all.
I don't have an exact answer. I will recommend that you try to correlate the disablement with which perspective is active. Likewise, which view is active. I have been using 3.4 and not experienced this issue.
Darn! I have that problem too -- in Eclipse 3.4.2.
Seems to be related to Navigator and Project Explorer views:
- Switch to Debug perspective: Search menu items are there.
- Switch to Java or Java EE perspective: Search menu items still there.
- Click on a project in Navigator or Project Explorer: Search menu items all DISABLED.
(Curse! I use search in Selected Resources a lot! )-:
Hmmm... It may slso depend on the file type currently open in the editor. (Like Java vs xml.)
Still present in Eclipse 3.5.2 -- and for the first time really sticky.
I checked out the "close all opened files and open any other file afterwards" answer and that brought back the Search menu items. Additionally, if you were lucky and have the Search result view open, than indeed there is this little link "Open search dialog".
By the way, additionally lots of other project-related menu items seem to be greyed out also together with this, and they did not reanimate :-( But I did not really check out if these are only items for which it is useful and planned to be greyed out in this situation.
I'm using RAD 7.5.1 which runs on Eclipse 3.4 and I get this problem frustratingly often. It doesn't matter which perspective or view I'm in, or which editor I have open.
Restarting RAD usually clears it up, but because that's such a colossal pain, I found that you can get around it in the Search View, there is a link; "Start a search from the search dialog" which will bring up the search dialog.
This isn't a great workaround because the link only shows if you have no search history. To do another search, you'll have to clear your search history in the view.
A late comment for anyone getting bitten by this, but I found "eclipse -clean" fixed it => this does a cleanup of the workspace before starting
Thanks http://letsgetdugg.com/2009/04/19/recovering-a-corrupt-eclipse-workspace/ for the tip, after I guessed my workspace might be corrupt.
Before search, check you may choose scope in empty Working set. Most Search menu disables Search button when you choose it. And mine, too :)
window > close all perspectives worked for me too.
But if you are just looking for a text search in the project you could press Ctrl+Alt+G on a marked text
I couldn't get it to work even when restarting Eclipse.
Here's what worked for me: Closing all open files and opening a different file. The different file happened to be .java, but not sure if that had anything to do with it.
I get this problem from time to time.
In the past I've fixed by starting eclipse with the -clean option.
Once when that didn't work I created a new workspace.
I followed these instructions for those two solutions.
The clean option didn't work for me today and I found this thread because I didn't want to create a new workspace. The closing all files and reopening one file did work however.
I had this issue also in eclipse 3.6.2: Helios Service Release 1.
Closed all the editor windows, and the search has been enabled.
Switching to another perspective, then back, works quickly for me.
I've faced similar issue in Ctrl+H "File Search" tab. The "Search" and "Replace" button was grayed out (disabled). The solution is fill the "File name patterns" text box (for eg, *.py). May be this is by design!
I have this problem with MyEclipse 7 (eclipse 3.4) under Debian Lenny. Perspective doesn't seem to matter. I get around it with the shortcut Ctrl+H but I was hoping for a better way.
Just had this problem in Eclipse Neon 3. It is a very common problem in RAD. I could find using in the console, then switch back to the source and search. RAD would disable the find/search options per source file open. This is very frustrating.
I had this problem too. It appeared when I installed the m2eclipse plugin.
I had not found a solution, but you can use Ctrl+H shortcut instead.
And you can navigate between tabs with Ctrl+PgDown or Ctrl+PgUp keys.
I've uninstalled the following pluings and it worked.
Maven integration
PMD
eclipse checkstyle plugin
EclEmma (coverage)
I don't know which of those cause the problem. To uninstall a plugin: Help -> Software Updates...-> "Installed Software" tab.