IntelliJ auto import on copy-paste

Very nice feature of IntelliJ is auto-importing dependencies and dependencies cleanup (optimize imports), especially useful when copy pasting entire code blocks, deleting stuff etc… Here is a screenshot of where to enable the settings and a link to IntelliJ docs… Auto import Optimize imports

Multiple projects inside one IntelliJ instance

When you are working with multiple projects, for example a number of microservices, it becomes problematic to have an IntelliJ instance open for each of those. There is a trick that allows us to have multiple projects open inside one IntelliJ instance (this saves time, space and RAM :)). Basics steps are as follows: Create…