You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
-26
Original file line number
Diff line number
Diff line change
@@ -281,32 +281,6 @@ ktlint {
281
281
```
282
282
</details>
283
283
284
-
### IntelliJ Idea Only Plugin
285
-
286
-
**Note:** This plugin is automatically applied by the main `ktlint` plugin.
287
-
288
-
This plugin just adds [special tasks](#additional-helper-tasks) that can generate IntelliJ IDEA codestyle
289
-
rules using ktlint.
290
-
291
-
#### Idea plugin simple setup
292
-
293
-
Build script snippet for new plugin mechanism introduced in Gradle 2.1:
294
-
```kotlin
295
-
plugins {
296
-
id("org.jlleitschuh.gradle.ktlint-idea") version "<current_version>"
297
-
}
298
-
```
299
-
300
-
#### Idea plugin setup using legacy apply method
301
-
302
-
For all Gradle versions:
303
-
304
-
Use the same `buildscript` logic as [above](#simple-setup), but with this instead of the above suggested `apply` line. If you also want the GIT pre-commit gradle tasks, keep both `apply` variations.
0 commit comments