Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

12. IDE instructions

Ilkka Seppälä edited this pageMar 30, 2024 ·26 revisions

Get the code

  • Clone the projectgit clone https://github.com/iluwatar/java-design-patterns.git

IntelliJ IDEA

  • Download IntelliJ IDEA fromhttps://www.jetbrains.com/idea/download/
  • Import project - point to project rootpom.xml
  • There is.editorconfig at the root of the repository and it should be applied automatically.
  • Enable annotation processing File - Settings - Build, Execution, Deployment - Compiler - Annotation Processors - Enable annotation processing (Lombok needs this)

Checkstyle

  • We use Checkstyle to enforce code style
  • Install Checkstyle plugin File - Settings - Plugins - CheckStyle-IDEA
  • You can run Checkstyle checks by activating the Checkstyle view with View - Tool windows - Checkstyle and clicking Check project. Ensure that Google Checks ruleset is activated. (command line:./mvnw validate)

SonarLint

  • We use SonarCloud for static analysis
  • The same scans can be executed on the local machine using SonarLint plugin
  • Install SonarLint plugin: File - Settings - Plugins - SonarLint
  • View - Tool Windows - SonarLint
  • Configure SonarLint
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp