Skip to content

Commit 7d5b7f8

Browse files
committed
Update readme 12.12.2022
1 parent ef775cc commit 7d5b7f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ jobs:
111111
### Autocomplete and Syntax highlighting in IntelliJ IDEA or Android Studio
112112
You can activate the autocomplete following this additional steps:
113113
- Install danger on your local machine
114-
- Go to `Preferences -> Build, Execution, Deployment -> Compiler -> Kotlin Compiler` (`Preferences -> Kotlin Compiler` in Android Studio)
114+
- Go to `Preferences -> Build, Execution, Deployment -> Compiler -> Kotlin Compiler` (`Preferences -> Kotlin Compiler` in Android Studio, Recent Android Studio versions will show this option when you close all project and open the Settings from the initial screen)
115115
- At the bottom you will find a section `Kotlin Scripting`
116116
- Complete the field `Script template classes` with `systems.danger.kts.DangerFileScript`
117117
- Complete the field `Script templates classpath` with `/usr/local/lib/danger/danger-kotlin.jar`
118118
- Go to `Preferences -> Language & Frameworks -> Kotlin -> Kotlin Scripting`
119119
- Make sure the script template `DangerFileScript` is active and above the default `Kotlin Script`
120120
- Apply changes
121-
- If opening the `Dangerfile.df.kts` the autocomplete and syntax highlighting doesn't work, try to reboot your IDE.
121+
- If opening the `Dangerfile.df.kts` the autocomplete and syntax highlighting doesn't work, try to reboot your IDE or open the Dangerfile from your IDE as a single file.
122122

123123
### Using external maven dependencies into your Dangerfile
124124
You can use any external dependency by adding the following lines at the top of your `Dangerfile.df.kts`

0 commit comments

Comments
 (0)