Eclipse Juno doesn't show SVN history - eclipse

Usually when I click on any file or directory in package explorer (or any other explorer), the history view shows the whole SVN history of that directory. Unfortunately my history stays blank and I don't see any information. I didn't find any option in preferences too. Any ideas?
I'm using Juno, Subversive, SVNKit 1.3.8.

You have to right click on the file/folder and select Team -> Show history.
To let the view refresh itself depending on your selection, select the Link with Editor and Selection icon in the view toolbar:

Related

Eclipse format or clean up changed files

In Intellij Idea I can open Local Changes tab select files and invoke formatting code. How i can do this in Eclipse?
How can I format and clean up ONLY changed files in Eclipse?
I can get list of changed files on "Git Staging" view, but select files on this view don't allow me to invoke Source/Clean Up... or Source/Format operation.
Select all in Git Staging view
Right-click on the files
Click on Show in > Package explorer
Right-click on the selected files in the Package explorer
Click on Source > Clean Up... ou Format
PS: you can do this for former commits:
Show git history in History
Select your commit
Select all the files on the right
Right-click on the files
Click on Show in > Package explorer
Right-click on the selected files in the Package explorer
Click on Source > Clean Up... ou Format
Go to Window > Preferences > Java > Editor > Save Actions.
Select Perform the selected actions on save.
Select Format Source code.
Select Format edited lines.
Click Ok, edit some code, save it and watch Eclipse format it automatically.
More Details are here, and also check the official help.

SVN Unversion equivalent for ClearCase

we have started a project versioned with ClearCase (sadly).
We also use Maven and ClearCase eclipse plug-in. Each time I build a project, a popup shows up (which says Add items in target folder to source control) and drives me mad. It pauses the build process so I have to check frequently to resume process.
Is there a way to ignore and unversion this folder like with SVN? I've added target folder to ignored sources on eclipse but pop-up still appears
If you are referring to the "Add Elements to Source Control" dialog box:
(Source: "Using ClearCase with Rational Performance Tester")
The workaround is:
On the main menu, click Windows > Preferences.
In the left pane, expand Team and then select ClearCase SCM Adapter
Change the preference for When new resources are added to Do nothing (from the default value of Prompt to add to source control).

pydev plugin in eclipse not showing the files in the project explorer

I am using pydev plugin in eclipse. I can create the project, but I cannot see the files in the project explorer.
I am attaching the screenshot. Any idea how to fix it.
Thanks
Kiran
in Pydev explorer Ctrl+F10 then from Top Level Elements choose Projects. It will show the projects in your workspace
I got a little workaround. I'm not sure what the difference between "PyDev Package Explorer" and "Package Explorer" is supposed to be, but it's clear that one of them is buggy.
I'm well aware that this is from 2011, but I came across this question while searching for it. I hope my answer will help someone.
Ensure you are in the "PyDev" perspective.
Top menu bar > Window > Customize Perspective...
Menu Visibility tab
Under "Edit", tick the "Show views" box (it might be half-ticked somehow depending on how your OS displays that). Press OK.
Top menu bar > Window > Show view > Package Explorer
A new 'view' should now be visible, called "Package Explorer". Move Package Explorer to an appropriate space (click and drag).
Delete the old "PyDev Package Explorer".
It seems that Eclipse does not have the resources up to date...
Have you configured Eclipse to do automatic refresh of resources?
Preferences > General > Startup and Shutdown: check 'Refresh workspace on startup'
Preferences > Workspace: check: Refresh automatically (this depends on your Eclipse version -- in 3.7 the settings were changed a bit, but it should be easy to know which configurations are related).
You can also try making a manual refresh: either F5 or right-click: refresh.
Another thing to check is if the path of the project is actually the path you're expecting (i.e.: the path that has the resources) -- you can press Alt+Enter to open the properties for the project and check if the location is actually correct.

How to show all files in Eclipse navigator/explorer?

I do not see some of my files in the Eclipse Navigator view (or Projet Explorer or PyDev Package Explorer).
I tried to go to "Customize View..." and remove all filters. It didn't show *.pickle files, but it did unhide some other file types (.* resources).
Remember to refresh the view: Right-click the background of the Explorer/Navigator view to open a context menu, then choose "Refresh" (F5).
Restarting Eclipse doesn't help.
If you are using a Working Set, you can try the similar procedure that helped me with PHP Explorer and Navigator.
Look for the answer with pictures here:
Folders and files don't appear in PHP Explorer in Eclipse IDE

How to prevent Eclipse from showing the opened file in package explorer

somehow I've ended up in a situation such that when I navigate through source files with Eclipse, the Eclipse always selects (and expands) the opened file with package explorer. With this I end up
losing my location on Package Explorer
Having my Package explorer expanded and pretty confusing.
With brief googling/exploring on the preferences I couldn't find this one..
Eclipse version is 3.4 if that happens to matter.
Thanks in advance,
Touko
Turn off the "Link with Editor" option in the Package Explorer toolbar.
(the left/right arrow icon, turned on here)
Select a source file, right click on it, choose "Open with" and then "Java Editor". The Java Editor should be the default after that for all java files.