intellij idea tips

shortcuts

CTRL+ALT+L format code

ALT+7 structure view

File | Project Structure | Artifacts
then you should press alt+insert or click the plus icon and create new artifact choose –> jar –> From modules with dependencies.

Next goto Build | Build artifacts –> choose your artifact.

Quick Fix:
Alt+Enter

Create sth:
CTRL+ALT+INSERT

Quickly create jar from java project

  1. “Project Setting” -> “Artifacts” -> “+” -> “Jar” -> “from modules with dependencies”
  2. build artifact