Share / Export eclipse working sets

You can try and export (as in “copy to another people workspace metadata directory”): </path/to/.metadata>\.plugins\org.eclipse.ui.workbench\workingsets.xml This is the file referencing your working sets. z0r adds in the comments: my team mate replaced his workingsets.xml with my version of the file, and it worked well. However, you must exit Eclipse before replacing the file, because Eclipse … Read more

Hide unit tests from Call Hierarchy

In the Call Hierarchy view, click the white downwards arrow icon. Select “Filters…”. Check “Filter Test Code”. Click the refresh button (or press F5). The test classes and methods should not be visible anymore. The “Filter Test Code” checkbox was added in Eclipse Photon. In earlier versions, you can select the “Name filter patterns” checkbox … Read more

Where is “create project from existing source” in eclipse Indigo?

Un-check the Use Default Location option and then Browse to select the parent folder of your existing source tree. Eclipse will automatically detect the existing files and folders, although you might have to configure the project to let it know what your source folder is; but the New Java Project wizard presents that option to … Read more

How can I change @author tag configuration in eclipse in such a way that it takes the name I have specified?

There are several ways of accomplishing this. Open up Eclipse Preferences, type in Templates as your Filter, then select Java->Code Style->Code Templates. In the Code Templates widget, expand the Comments widget: Looking through the expanded selection, you can see that there are templates defined for Types and Methods, amongst others. Select whichever template you want … Read more

Eclipse 3.7 (Indigo) + Tomcat7 — Cannot create a server using the selected type

This is a known issue.To resolve this error, try one or all of the following: Go to Window–>Preferences–>Server–>Runtime Environments and fix the broken path/link for the server. Rename the org.eclipse.jst.server.tomcat.core.prefs to org.eclipse.jst.server.tomcat.core.prefs.bak (or you can delete this file). This file can be found at \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings Rename the org.eclipse.wst.server.core.prefs to org.eclipse.wst.server.core.prefs.bak (or delete the file). This … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)