Skip to content

Java

IntelliJ IDEA useful shortcuts and tips

Here follows a short list of some IntelliJ IDEA useful shortcuts and tips to improve your productivity whilst coding Java.

Code generation

Type Alt + Insert to open the code generation dropbox, then type:

Constructors

  • Enter directly, then Up and Ctrl + Enter for no-arg constructor.
  • Enter directly, then Ctrl + A to select all of the arguments.
Read More »IntelliJ IDEA useful shortcuts and tips

Create Play Java Project

This tutorial is going to show you how to create a Play Java project using the command line build tool SBT in simple steps.

Create a Workspace

First, create a workspace in order to keep things organised:

mkdir play-workspace
cd play-workspace
Read More »Create Play Java Project

Change Spring Boot server port

Change Spring Boot server port logo


This tutorial will show you three different ways to change Spring Boot server port from its default 8080 to any other port you like.

The following steps are agnostic to your current Spring Boot’s embedded server, it should not make any difference whether you are using Tomcat, Jetty or Undertow.

Read More »Change Spring Boot server port