3

Eclipse setup for Java Development

 2 years ago
source link: https://marco.dev/eclipse-setup
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Eclipse setup for Java Development


I regularly switch IDE for Java to stay updated with the different technologies. Usually, I switch between IntelliJ Ultimate, Netbeans, Eclipse (Sping Tools Suite 4) and Visual Studio Code.

Here there are some steps that I need to do when I switch to Eclipse.

My goal is to have a similar experience between the development environments.

Lombok

I use very often Lombok, its integration miss in the standard configuration of Eclipse.

In order to allow Eclipse to recognize and process Lombok’s annotations you need to manually install the plugin.

You have 2 methods:

Image.jpeg

Maven

If you want to profit of the autocomplete function when you edit your maven pom you have to ask Eclipse to update the Maven index when you start the project.

I find this feature important, when I am editing pom.xml files I like to see the list of versions available directly in the IDE without going to look around (library website o maven repository) for the latest version.

Image.jpeg

After the index is updated (it could take a while) you can use the autocomplete function in your pom.xml

Image.jpeg


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK