Vitaly Bragilevsky
Developer Advocate at JetBrains
I'm a developer advocate at JetBrains. I taught more than a dozen programming languages and other Computer Science topics at universities for more than 20 years. I authored "Haskell in Depth", published by Manning Publications in 2021.
Custom Fleet Plugins for Your Kotlin Codebase
You have a vast codebase in Kotlin and want to compute various metrics about it. What is its cyclomatic complexity? What's the average number of methods per class? How many classes exist in your longest inheritance line? I hope it's fewer than 5… There's a possibility that a specific metric you are interested in isn't implemented in your favorite code analysis tool.
Let's address this issue by creating a custom Fleet plugin: Fleet already has some knowledge about your codebase, and we'll ask about it! In this presentation, we will go through the essential steps of Fleet plugin development, starting from creating a plugin template to running Fleet with your new plugin installed. Along the way, we will learn how to consult Fleet data structures and present the results within Fleet itself.
The Fleet SDK supports plugin development across various areas, from simple user interface extensions to Language Server Protocol connections. Although Fleet APIs are still a work in progress, we can already begin exploring them. By the end of this presentation, you can develop your own plugins.