eclipse
Emacs key binding in Eclipse IDE
No plugin needed for basic Emacs keybindings! Go to Windows → Preferences → General → Keys and select Emacs scheme. It won’t provide all Emacs commands (obviously) but it covers the things you can’t live without such as navigation, selection, cutting / pasting etc.
debugging java application deployed in tomcat
First, you need to run Tomcat in debugging mode. The easiest way to do that is to modify the startup file (.bat or .sh depending if you are Windows or not). Find the line near or at the end of the file that contains the start command, and change it to jpda start. This will … Read more
How to add HTML Editor to Eclipse?
Alternatively, you can just install the “HTML Editor” from the WST package (the same one provided in Java EE Edition) in Eclipse 4.x, just by looking for “HTML Editor” in the marketplace (but, indeed, i haven’t been able to found it in the “install new software”). On my side i prefer to work on Eclipse … Read more
Launch mac eclipse with environment variables set
There is an alternate solution which involves replacing the executable that is run by MacOS X when the user launches the Eclipse application with a shell wrapper that sets up the environment. Create an empty text file called “eclipse.sh” in the Eclipse application bundle directory /Applications/eclipse/Eclipse.app/Contents/MacOS. Open the eclipse.sh in a text editor an enter … Read more
Maven and eclipse: a reliable way to add non-Maven or external jars to a project?
1) you can use system scope dependency <dependency> <groupId>test</groupId> <artifactId>x</artifactId> <version>1.0</version> <scope>system</scope> <systemPath>${basedir}/lib/x.jar</systemPath> </dependency> 2) you can copy your x.jar to local maven repository as repository/test/x/1.0/x-1.0.jar and add a dependency as <dependency> <groupId>test</groupId> <artifactId>x</artifactId> <version>1.0</version> </dependency>
Lombok not working in eclipse mars
I had the same problem. What helped was: Restart Eclipse Select from top menu Project -> Clean… Clean all projects that use Lombok If it will not help, try again from point 1. (I know it sounds stupid but it worked on my PC on second try.) Also, I’m using Lombok version 1.16.4 (and Eclipse … Read more
How do you add a project to svn in eclipse?
Something like: Right-click on your project. Select Team -> Share Project. The Wizard will guide you through to make an Initial Import. The Initial Import wont actually put any code into the repository, just the project details. So you then need to do: Right-Click Team -> Commit, and the same for all future commits.
Eclipse can’t find / load main class
.metadata is corrupted. Steps: Warning: Deleting .metadata will delete all your Eclipse configurations, plugins, project setups. Make a backup before you attempt this! Stop eclipse, delete .metadata in workspace and restart eclipse Import Project Run again
Redo keyboard shortcut for Eclipse
In Eclipse go to: Window > Preferences > General > Keys In the keys, scroll down to redo and make it what you want. Here is documentation. Here is a screenshot: