detekt-intellij-plugin

Static code analysis for Kotlin

License

License

Categories

Categories

IntelliJ IDEA Development Tools IDE
GroupId

GroupId

io.gitlab.arturbosch.detekt
ArtifactId

ArtifactId

detekt-intellij-plugin
Last Version

Last Version

1.6.1
Release Date

Release Date

Type

Type

pom
Description

Description

detekt-intellij-plugin
Static code analysis for Kotlin
Source Code Management

Source Code Management

https://github.com/detekt/detekt-intellij-plugin

Download detekt-intellij-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/io.gitlab.arturbosch.detekt/detekt-intellij-plugin/ -->
<dependency>
    <groupId>io.gitlab.arturbosch.detekt</groupId>
    <artifactId>detekt-intellij-plugin</artifactId>
    <version>1.6.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.gitlab.arturbosch.detekt/detekt-intellij-plugin/
implementation 'io.gitlab.arturbosch.detekt:detekt-intellij-plugin:1.6.1'
// https://jarcasting.com/artifacts/io.gitlab.arturbosch.detekt/detekt-intellij-plugin/
implementation ("io.gitlab.arturbosch.detekt:detekt-intellij-plugin:1.6.1")
'io.gitlab.arturbosch.detekt:detekt-intellij-plugin:pom:1.6.1'
<dependency org="io.gitlab.arturbosch.detekt" name="detekt-intellij-plugin" rev="1.6.1">
  <artifact name="detekt-intellij-plugin" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.gitlab.arturbosch.detekt', module='detekt-intellij-plugin', version='1.6.1')
)
libraryDependencies += "io.gitlab.arturbosch.detekt" % "detekt-intellij-plugin" % "1.6.1"
[io.gitlab.arturbosch.detekt/detekt-intellij-plugin "1.6.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.10

runtime (5)

Group / Artifact Type Version
io.gitlab.arturbosch.detekt : detekt-api jar 1.14.2
io.gitlab.arturbosch.detekt : detekt-tooling jar 1.14.2
io.gitlab.arturbosch.detekt : detekt-core jar 1.14.2
io.gitlab.arturbosch.detekt : detekt-rules jar 1.14.2
io.gitlab.arturbosch.detekt : detekt-formatting jar 1.14.2

Project Modules

There are no modules declared in this project.

IntelliJ Detekt Plugin

Join the chat at https://kotlinlang.slack.com/messages/C88E12QH4/convo/C0BQ5GZ0S-1511956674.000289/ Pre Merge Checks FOSSA Status

Integrates detekt, a static code analysis tool for the Kotlin programming language, into IntelliJ.

The plugin can be downloaded from the Jetbrains plugin repository.

Enabling the plugin

  • Install the plugin
  • Navigate to Settings/Preferences -> Tools -> Detekt
  • Check Enable Detekt
  • Specify your detekt configuration and baseline file (optional)
  • detekt issues will be annotated on-the-fly while coding

detekt in action

Building / developing the plugin

For building the project, the Gradle IntelliJ plugin is used.

# linux & macOS
./gradlew buildPlugin
# windows
gradlew buildPlugin

To test your development, use task runIde which will automatically run an Intellij instance to test your new version of detekt plugin.

License

FOSSA Status

io.gitlab.arturbosch.detekt
Static code analysis for Kotlin

Versions

Version
1.6.1