Skip to content

Commit 13bfce1

Browse files
nbaarsmp911de
authored andcommitted
Add IntelliJ setup and formatting instructions to README.
Resolves gh-794
1 parent be999ae commit 13bfce1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,17 @@ If you prefer not to use m2eclipse you can generate eclipse project metadata usi
320320
The generated eclipse projects can be imported by selecting `import existing projects`
321321
from the `file` menu.
322322

323+
==== Importing into IntelliJ
324+
325+
In IntelliJ, choose `File --> Open` and select the `pom.xml` it will automatically detect it is a Maven project and starts downloading all necessary dependencies.
326+
327+
==== Formatting code (Spring Java Format)
328+
329+
The project uses https://github.com/spring-io/spring-javaformat[Spring Java Format] through the `spring-javaformat-maven-plugin`.
330+
You can run `./mvnw spring-javaformat:apply` to reformat code.
331+
Follow the instructions for https://github.com/spring-io/spring-javaformat#eclipse[Eclipse] or https://github.com/spring-io/spring-javaformat#intellij-idea[IntelliJ] to install a plugin to enable formatting in your favorite IDE.
332+
333+
323334
== Contributing
324335

325336
Spring Vault is released under the non-restrictive Apache 2.0 license, and follows a very standard Github development process, using Github tracker for issues and merging pull requests into `main`.

0 commit comments

Comments
 (0)