Skip to content

Commit e98d820

Browse files
committed
Intellij idea new theme update
Signed-off-by: umair <[email protected]>
1 parent dc5b5ad commit e98d820

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

site/content/docs/developer/building-zap-with-intellij-idea.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,29 @@ Then, in the ‘New Project’ window, with ‘Empty Project’ as automatically
4040

4141
![IntelliJ New Empty Project](/img/docs/developer/intellij-new-empty-project.png)
4242

43-
After creating the empty project, click the settings gear icon on the upper right and go to ‘Project Structure’. On the next window that pops up, pick an installed SDK.
43+
After creating the empty project, click the settings gear icon on the upper right and go to ‘Project Structure’. On the next window that pops up, pick an installed SDK and click ok.
4444

4545
![IntelliJ Project Structure from Settings Menu](/img/docs/developer/intellij-settings-project-structure.png)
4646

4747
![Pick installed SDK](/img/docs/developer/intellij-sdk.png)
4848

49-
In the same window, select the 'Modules' tab under 'Project Settings', click on the ➕ button, and select 'Import Module'.
49+
Now Negivate to the top left and click on file-->new--> "Module From Existing Sources", then go the zaproxy folder and select the ‘build.gradle.kts’ file that is present in the root of its directory, and click on OK.
5050

51-
![Import Module](/img/docs/developer/intellij-import-module.png)
51+
![Import Module](/img/docs/developer/select-file-grade.png)
5252

5353
Then, in the 'Select File or Directory to Import' window, navigate to any one of the cloned ZAP repositories, select the 'build.gradle.kts' file that is present in the root of its directory, and click on OK.
5454

55-
![Select Gradle Build Script](/img/docs/developer/intellij-select-gradle-build-script.png)
56-
57-
Repeat the last two steps until you have imported all of the ZAP repositories as modules. Then, click on OK in the 'Project Structure' window.
55+
Repeat the steps until you have imported all of the ZAP repositories as modules. Then, click on OK in the 'Select File or Directory to Import' window.
5856

5957
You should now be able to see all the imported repositories in the IntelliJ IDEA Project tab.
6058

6159
It is worth noting that some of the _zap-extensions_ add-ons may fail to compile if you do not have the required environment for them. This is to be expected and is not a problem unless you want to work on those add-ons, in which case see their READMEs for more details.
6260

61+
![Import Module](/img/docs/developer/CONF.png)
62+
63+
Now we have to configure the IDE, On the top right bar, open "Run and debug configuration" by selecting "edit configuration", a new dialog box will appear, in the working directory set the path to zaproxy/zap/src/main/dist and click ok.
64+
65+
6366
## Running ZAP
6467
In the IntelliJ Project tab navigate to:
6568
* zaproxy / zap / src / main / java / org / zaproxy / zap
143 KB
Loading
Loading
Loading

0 commit comments

Comments
 (0)