-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation Update for Formatter set up
- Loading branch information
1 parent
a9efbb4
commit 90cd88c
Showing
9 changed files
with
53 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...sciidoc/documents/shared/configuration/eclipse-java-sechub-formatter-setup.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
. Download the formatter xml file https://github.com/Daimler/sechub/files/4158667/sechub-eclipse-sourceformatter-setup.zip[here] and unzip it. | ||
|
||
. Open Java Formatter page in preferences (Window->Preferences). Then press the import button and select the former unpacked xml file. | ||
+ | ||
image::eclipse-java-formatter-import.png[] | ||
|
||
. Ensure SecHub is your active profile. Select `SecHub` as active profile, then press apply and close. | ||
+ | ||
image::eclipse-java-formatter-activate.png[] | ||
|
||
. Before pushing your code please check your java format by executing spotless check. | ||
+ | ||
---- | ||
./gradlew clean spotlessCheck | ||
---- |
15 changes: 15 additions & 0 deletions
15
...ciidoc/documents/shared/configuration/intelliJ-java-sechub-formatter-setup.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
. Download the formatter xml file https://github.com/Daimler/sechub/files/4158667/sechub-eclipse-sourceformatter-setup.zip[here] and unzip it. | ||
|
||
. Open Java Formatter page in preferences (File->Settings). Then press the import button and select the former unpacked xml file. | ||
+ | ||
image::intelliJ-java-formatter-import.png[] | ||
|
||
. Ensure SecHub is your active profile. Select `SecHub` as active profile, then press apply and close. | ||
+ | ||
image::intelliJ-java-formatter-activate.png[] | ||
|
||
. Before pushing your code please check your java format by executing spotless check. | ||
+ | ||
---- | ||
./gradlew clean spotlessCheck | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+85 KB
sechub-doc/src/docs/asciidoc/images/eclipse-java-formatter-activate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+85.5 KB
sechub-doc/src/docs/asciidoc/images/eclipse-java-formatter-import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+68.9 KB
sechub-doc/src/docs/asciidoc/images/intelliJ-java-formatter-activate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+74.3 KB
sechub-doc/src/docs/asciidoc/images/intelliJ-java-formatter-import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters