Skip to content

Intellij IDEA plugin that counts the number of classes and methods in Java projects.

Notifications You must be signed in to change notification settings

dmitrii-artuhov/symbols-counter-intellij-plugin

Repository files navigation

Symbols Counter Plugin

Functionality:

  • Plugin add a custom tool window to the IDEA ui. It is located in the bottom right corner with title "Project Symbols".
  • Plugin scans the source code and outputs tree-like structure of the Java files in the project with all classes and methods in those files.
  • Plugin tracks changes via listening to the virtual filesystem, meaning:
    • Deleting and creating files will automatically update the tool window content.
    • Editing existing file will be propagated upon explicit saving of file: Ctrl/Cmd + S shortcut.

For the project on the 1st picture plugin will generate an output as shown on the 2nd one. Blue icon shows the number of classes per file, the red one — the number of methods per file/class.

Implementation details:

Building and running:

  • Project uses gradle, so it should be enough to open it in Intellij IDEA, and it will automatically setup everything.
  • In order to run an IDEA instance with the plugin integrated in it, run gradle runIde.
  • To run tests use gradle test.

About

Intellij IDEA plugin that counts the number of classes and methods in Java projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages