Рет қаралды 2,324
Recording brought to you by American Express. americanexpres...
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.