Renaming a project in IntelliJ IDEA

You can change the project name, which is the name that is shown in the recent projects list, like so: Go to Project Structure (Ctrl+Alt+Shift+S) → Project Settings / Project → Project name: Please note that this is not to be confused with name of the root module, or folder on the file system, which may or may not … Read more

How to correct indentation in IntelliJ

Code → Reformat Code… (default Ctrl + Alt + L) for the whole file or Code → Auto-Indent Lines (default Ctrl + Alt + I) for the current line or selection. You can customise the settings for how code is auto-formatted under File → Settings → Editor → Code Style. To ensure comments are also indented to the same level as the code, you can simply do as follows:

IntelliJ cannot resolve Junit for Maven project

EDIT – Solved via Comments: In your screenshot, there is a test.iml located in your test folder. Is there perhaps an exclusion or something? Can you try deleting that file? You can try to Invalidate Caches in IntelliJ (via File | Invalidate Cache). You can also try and rebuild your project from within the IDE … Read more