LineCounter - Plugin for IntelliJ based IDE
This plugin was created as a small internal project at STRV. Plugin will display list of files and methods which have bigger number of lines than user defined value.
- After opening ToolWindows at the right panel, user has to fill maximum number of lines for methods and files that serve as threshold for filtering project files and methods. Based on those two values will be displayed tree with files / methods names and lines count.
You have to have installed IntelliJ IDEA IDE version 9.0 or later, and Java JDK, preferably version 7 or later. That should be all you need to start developing your own plugin, and running this example.
You can download IntelliJ IDEA Community edition here: https://www.jetbrains.com/idea/download/
You don't need to install Gradle on your system, because there is a Gradle Wrapper. The wrapper is a batch script on Windows, and a shell script for other operating systems. When you start a Gradle build via the wrapper, Gradle will be automatically downloaded and used to run the build.
- Clone this repository
gradlew buildPluginin console
- ZIP file should be available in project root directory
You can also test plugin implementation by launching new instance of IntelliJ IDEA with plugin installed, using