Skip to content

My configuration and recommendation for JetBrains IDEs

License

Notifications You must be signed in to change notification settings

qligier/jetbrains-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My configuration and recommendation for JetBrains IDEs.

Intellij IDEA

Plugins

  • .ignore: adds support for various .ignore files.
  • CodeGlance Pro: displays a zoomed out overview or minimap similar to the one found in Sublime into the editor pane.
  • JPA Buddy: helps developers work efficiently with Hibernate, EclipseLink, Spring Data JPA, Flyway, Liquibase, Lombok, MapStruct, and other related technologies in both Java and Kotlin.
  • Maven Dependency Checker: checks if there are any new Maven project dependencies available.
  • PIT Mutation Testing: adds a 'Run configuration' that allows to execute PIT within IDE.
  • SonarLint: finds and fixes coding issues in real-time, flagging issues as you code, just like a spell-checker.

Project configuration

  • Enable actions on file save in Settings → Tools → Actions on Save. Reformat code, Optimize imports, Run code cleanup are nice tasks to enable. The setting is per project.
  • Configure the copyright template of the project in Settings → Editor → Copyright. You can also update the copyright on file save.
  • Add custom TODO patterns in Settings → Editor → TODO to match what is used in your projects.

Global configuration

  • Enable sync in Settings → Settings Sync to have a backup or synchronize between computers.
  • Configure the live templates in Settings → Editor → Live Templates. See the dedicated page for my live templates.
  • Configure the code inspections to your preferences in Settings → Editor → Inspection. You can also create simple inspections.
  • Configure the default code/file generation of things you do often in Settings → Editor → File and Code Templates. Includes/File Header for the new file Javadoc, Code/Catch Statement Body|Declaration, etc. Other settings are available in Settings → Editor → Code Style → Java → Code Generation.
  • Configure the template for getter/setter/equals/hashcode generation. You need to be in a Java class with members, then Right click → Generate… → (Getter|Setter|Getter and Setter|equals() and hashCode()|toString()) → Button […] next to the Template dropdown. See my templates.

About

My configuration and recommendation for JetBrains IDEs

Topics

Resources

License

Stars

Watchers

Forks