A simple plugin for the IDEA platform that adds an additional side panel displaying the number of classes and functions for all Kotlin
/Java
files in the currently open project, as well as for currently open file:

Ideas to implement: make it possible to choose from the list of files to count on a particular subset of files; include name of currently open file.
- Core logic in MyProjectService.kt
- collecting stats for the whole project (both
Kotlin
andJava
files separately) - collecting stats for currently open file
- collecting stats for the whole project (both
- Unit tests in MyPluginTest.kt
- UI in CodeExplorerWindowFactory.kt
- scrollable window
- visually readable data
Refresh
andHide
buttons
- Dependencies/Settings
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk... > Choose ide-plugin-code-explorer-panel-0.0.1.jar
Plugin based on the IntelliJ Platform Plugin Template.