from Hacker News

Ask HN: How do I get the most frequent templates from a project's source code?

by aladine on 5/17/19, 12:27 PM with 1 comments

I usually create a lot of code templates based on generic pattern(example for i:=0; i<n; i++) then create a shortcut for it in my IDE. If you used IntelliJ, it is called live template.

Since I want to optimize further in my work flow, is there any tool to analyze my project's source code. I want to find out the most frequent code templates from a project's source code.