Custom Fleet Plugins for Your Kotlin Codebase | Vitaly Bragilevsky

preview_player
Показать описание

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.
Рекомендации по теме
Комментарии
Автор

My Macbook pro struggles to run Fleet, I wouldn't have thought VSCode is more performant which it is. Hope performance is enhanced soon because I do really like the editor, just at the moment its unusabe.

seanknowles